public class OOoXmlContentHandler extends org.xml.sax.helpers.DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected boolean |
dumpText |
protected boolean |
isSpreadSheet |
protected static org.apache.commons.logging.Log |
log |
protected Stack<String> |
path |
protected StringBuffer |
sb |
Constructor and Description |
---|
OOoXmlContentHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String namespaceURI,
String localName,
String qName) |
String |
getContent() |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected static final org.apache.commons.logging.Log log
protected final StringBuffer sb
protected boolean dumpText
protected boolean isSpreadSheet
public OOoXmlContentHandler()
public String getContent()
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2018 Nuxeo. All rights reserved.