public class XSSFSheetXMLHandler
extends org.xml.sax.helpers.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(Styles styles,
Comments comments,
SharedStrings strings,
XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler,
DataFormatter dataFormatter,
boolean formulasNotResults)
Accepts objects needed while parsing.
|
XSSFSheetXMLHandler(Styles styles,
SharedStrings strings,
XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler,
boolean formulasNotResults)
Accepts objects needed while parsing.
|
XSSFSheetXMLHandler(Styles styles,
SharedStrings 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(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
public XSSFSheetXMLHandler(Styles styles, Comments comments, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults)
styles
- Table of stylesstrings
- Table of shared stringspublic XSSFSheetXMLHandler(Styles styles, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, DataFormatter dataFormatter, boolean formulasNotResults)
styles
- Table of stylesstrings
- Table of shared stringspublic XSSFSheetXMLHandler(Styles styles, SharedStrings strings, XSSFSheetXMLHandler.SheetContentsHandler sheetContentsHandler, boolean formulasNotResults)
styles
- Table of stylesstrings
- Table of shared stringspublic void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.