class ExcelXlsxConnector.XSSFSheetHandler
extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
XSSFSheetHandler(org.apache.poi.xssf.model.StylesTable styles,
org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings,
ExcelConnectorParams params,
DataSet dataSet,
Driver driver)
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 |
endDocument() |
void |
endElement(String uri,
String localName,
String name) |
void |
startElement(String uri,
String localName,
String name,
org.xml.sax.Attributes attributes) |
public XSSFSheetHandler(org.apache.poi.xssf.model.StylesTable styles, org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable strings, ExcelConnectorParams params, DataSet dataSet, Driver driver)
styles
- Table of stylesstrings
- Table of shared stringsparams
- the paramsdataSet
- the data setdriver
- the driverpublic 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
ch
- the chstart
- the startlength
- the lengthorg.xml.sax.SAXException
- the sAX exceptionpublic void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(String uri, String localName, String name) 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 startElement(String uri, String localName, String name, 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
Copyright © 2010-2020 Toolsverse. All Rights Reserved.