Package org.ametys.cms.data
Class RichTextImportHandlerFactory
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.data.RichTextImportHandlerFactory
- All Implemented Interfaces:
LogEnabled
,Component
,Contextualizable
public class RichTextImportHandlerFactory
extends AbstractLogEnabled
implements Component, Contextualizable
Factory for the transformer that imports a rich text from docbook.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
This transformer imports the rich text from docbook. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) createHandlerProxy
(ContentHandler contentHandler, RichText richText, Map<String, InputStream> files) Creates a handler proxy to import the rich textMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon role.
-
-
Constructor Details
-
RichTextImportHandlerFactory
public RichTextImportHandlerFactory()
-
-
Method Details
-
contextualize
- 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
-