public class XSSFSheetXMLHandler extends DefaultHandler
Modifier and Type | Class and Description |
---|---|
static interface |
XSSFSheetXMLHandler.SheetContentsHandler
You need to implement this to handle the results
of the sheet parsing.
|
Constructor and Description |
---|
XSSFSheetXMLHandler(StylesTable styles,
ReadOnlySharedStringsTable strings,
XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler,
boolean formulasNotResults)
Accepts objects needed while parsing.
|
XSSFSheetXMLHandler(StylesTable styles,
ReadOnlySharedStringsTable strings,
XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler,
DataFormatter dataFormatter,
boolean formulasNotResults)
Accepts objects needed while parsing.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Captures characters only if a suitable element is open.
|
void |
endElement(String uri,
String localName,
String name) |
void |
startElement(String uri,
String localName,
String name,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public XSSFSheetXMLHandler(StylesTable styles, ReadOnlySharedStringsTable strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults)
styles
- Table of stylesstrings
- Table of shared stringspublic XSSFSheetXMLHandler(StylesTable styles, ReadOnlySharedStringsTable strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, boolean formulasNotResults)
styles
- Table of stylesstrings
- Table of shared stringspublic void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
Copyright © 2020. All rights reserved.