Class DocbookSourceFactory
- java.lang.Object
-
- org.ametys.cms.transformation.docbook.DocbookSourceFactory
-
- All Implemented Interfaces:
Component
,Serviceable
,SourceFactory
public class DocbookSourceFactory extends Object implements SourceFactory, Serviceable
This factory return files upon the DocbookEnhancementExtensionPoint.- htmleditor2docbook.xsl
- docbook2htmleditor.xsl
-
-
Field Summary
Fields Modifier and Type Field Description private DocbookEnhancementExtensionPoint
_docDocbookEnhancementExtensionPoint
private long
_timestamp
-
Fields inherited from interface org.apache.excalibur.source.SourceFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description DocbookSourceFactory()
-
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
-
_timestamp
private long _timestamp
-
_docDocbookEnhancementExtensionPoint
private DocbookEnhancementExtensionPoint _docDocbookEnhancementExtensionPoint
-
-
Constructor Detail
-
DocbookSourceFactory
public DocbookSourceFactory()
-
-
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
-
-