Package org.ametys.cms.data
Class RichTextImportMetadataHandlerFactory
java.lang.Object
org.ametys.cms.data.RichTextImportMetadataHandlerFactory
- All Implemented Interfaces:
Component
,Contextualizable
public class RichTextImportMetadataHandlerFactory
extends Object
implements Component, Contextualizable
Factory for the transformer that imports the rich text metadata (attachments, semantic annotations, ...) from docbook.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
This transformer imports the rich text metadata (attachments, semantic annotations, ...) from docbook. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) createHandler
(RichText richText, Map<String, InputStream> files) Creates a handler to import the rich text's metadata
-
Field Details
-
ROLE
Avalon role.
-
-
Constructor Details
-
RichTextImportMetadataHandlerFactory
public RichTextImportMetadataHandlerFactory()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
createHandler
public RichTextImportMetadataHandlerFactory.RichTextImportMetadataHandler createHandler(RichText richText, Map<String, InputStream> files) Creates a handler to import the rich text's metadata- Parameters:
richText
- the rich textfiles
- the attachments of this rich text- Returns:
- the created handler
-