Package org.ametys.cms.data
Class RichTextImportHandlerFactory.RichTextImportHandler
java.lang.Object
org.apache.excalibur.xml.sax.ContentHandlerProxy
org.ametys.cms.data.RichTextImportHandlerFactory.RichTextImportHandler
- All Implemented Interfaces:
ContentHandler
- Enclosing class:
- RichTextImportHandlerFactory
This transformer imports the rich text from docbook.
-
Constructor Summary
ConstructorsConstructorDescriptionRichTextImportHandler(ContentHandler contentHandler, RichText richText, Map<String, InputStream> files, org.slf4j.Logger logger) Creates a handler proxy to import a rich text -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String loc, String raw) voidvoidstartElement(String uri, String loc, String raw, Attributes attrs) Methods inherited from class org.apache.excalibur.xml.sax.ContentHandlerProxy
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startPrefixMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
RichTextImportHandler
public RichTextImportHandler(ContentHandler contentHandler, RichText richText, Map<String, InputStream> files, org.slf4j.Logger logger) Creates a handler proxy to import a rich text- Parameters:
contentHandler- the contentHandler to pass SAX events torichText- the rich textfiles- the attachments of this rich textlogger- the logger
-
-
Method Details
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classContentHandlerProxy- Throws:
SAXException
-
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classContentHandlerProxy- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classContentHandlerProxy- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classContentHandlerProxy- Throws:
SAXException
-