Class HTMLSourceFactory
- java.lang.Object
-
- org.ametys.cms.transformation.html.HTMLSourceFactory
-
- All Implemented Interfaces:
Component
,Serviceable
,SourceFactory
public class HTMLSourceFactory extends Object implements SourceFactory, Serviceable
This factory return files upon the HTMLEnhancementExtensionPoint.- htmleditor2html.xsl
- html2htmleditor.xsl
-
-
Field Summary
Fields Modifier and Type Field Description private HTMLEnhancementExtensionPoint
_htmlEnhancementExtensionPoint
-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description HTMLSourceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Source
getSource(String location, Map parameters)
void
release(Source source)
void
service(ServiceManager manager)
-
-
-
Field Detail
-
_htmlEnhancementExtensionPoint
private HTMLEnhancementExtensionPoint _htmlEnhancementExtensionPoint
-
-
Constructor Detail
-
HTMLSourceFactory
public HTMLSourceFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getSource
public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
- Specified by:
getSource
in interfaceSourceFactory
- Throws:
IOException
MalformedURLException
-
release
public void release(Source source)
- Specified by:
release
in interfaceSourceFactory
-
-