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, warningpublic 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 ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String name) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionCopyright © 2020. All rights reserved.