Package org.ametys.cms.data
Class RichTextImportHandlerFactory
- java.lang.Object
-
- org.ametys.cms.data.RichTextImportHandlerFactory
-
- All Implemented Interfaces:
Component
,Contextualizable
public class RichTextImportHandlerFactory extends Object implements Component, Contextualizable
Factory for the transformer that imports a rich text from docbook.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RichTextImportHandlerFactory.RichTextImportHandler
This transformer imports the rich text from docbook.
-
Constructor Summary
Constructors Constructor Description RichTextImportHandlerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
RichTextImportHandlerFactory.RichTextImportHandler
createHandlerProxy(ContentHandler contentHandler, RichText richText, Map<String,InputStream> files)
Creates a handler proxy to import the rich text
-
-
-
Constructor Detail
-
RichTextImportHandlerFactory
public RichTextImportHandlerFactory()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
createHandlerProxy
public RichTextImportHandlerFactory.RichTextImportHandler createHandlerProxy(ContentHandler contentHandler, RichText richText, Map<String,InputStream> files)
Creates a handler proxy to import the rich text- Parameters:
contentHandler
- the contentHandler to pass SAX events torichText
- the rich textfiles
- the attachments of this rich text- Returns:
- the created handler
-
-