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 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 SourcegetSource(String location, Map parameters)voidrelease(Source source)voidservice(ServiceManager manager)
-
-
-
Constructor Detail
-
HTMLSourceFactory
public HTMLSourceFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getSource
public Source getSource(String location, Map parameters) throws IOException, MalformedURLException
- Specified by:
getSourcein interfaceSourceFactory- Throws:
IOExceptionMalformedURLException
-
release
public void release(Source source)
- Specified by:
releasein interfaceSourceFactory
-
-