Class SimpleContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
fr.opensagres.poi.xwpf.converter.xhtml.SimpleContentHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleContentHandler(OutputStream out, Integer indent) SimpleContentHandler(Writer writer) SimpleContentHandler(Writer writer, Integer indent) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcharacters(char[] ch, int start, int length) final voidendElement(String uri, String localName, String name) protected voidflushCharacters(String characters) protected booleanprotected voidvoidstartElement(String uri, String localName, String name, Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods 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
-
SimpleContentHandler
-
SimpleContentHandler
-
SimpleContentHandler
-
SimpleContentHandler
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
mustEncodeCharachers
protected boolean mustEncodeCharachers() -
flushCharacters
- Throws:
SAXException
-
resetCharacters
protected void resetCharacters()
-