|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.fountain.xelem.lex.DefaultExcelReaderListener
public class DefaultExcelReaderListener
Does effectively nothing. It's up to the subclasses of this class to do effectively something.
Constructor Summary | |
---|---|
DefaultExcelReaderListener()
|
Method Summary | |
---|---|
void |
endDocument(Map<String,String> prefixMap)
Does effectively nothing. |
void |
endWorksheet(int sheetIndex,
String sheetName)
Does effectively nothing. |
void |
processingInstruction(String target,
String data)
Does effectively nothing. |
void |
setAutoFilter(int sheetIndex,
String sheetName,
AutoFilter autoFilter)
Does effectively nothing. |
void |
setCell(int sheetIndex,
String sheetName,
int rowIndex,
Cell cell)
Does effectively nothing. |
void |
setColumn(int sheetIndex,
String sheetName,
Column column)
Does effectively nothing. |
void |
setDocumentProperties(DocumentProperties docProps)
Does effectively nothing. |
void |
setExcelWorkbook(ExcelWorkbook excelWb)
Does effectively nothing. |
void |
setNamedRange(int sheetIndex,
String sheetName,
NamedRange namedRange)
Does effectively nothing. |
void |
setNamedRange(NamedRange namedRange)
Does effectively nothing. |
void |
setRow(int sheetIndex,
String sheetName,
Row row)
Does effectively nothing. |
void |
setWorksheetOptions(int sheetIndex,
String sheetName,
WorksheetOptions wsOptions)
Does effectively nothing. |
void |
startDocument()
Does effectively nothing. |
void |
startTable(int sheetIndex,
String sheetName,
Table table)
Does effectively nothing. |
void |
startWorkbook(String systemID)
Does effectively nothing. |
void |
startWorksheet(int sheetIndex,
Worksheet sheet)
Does effectively nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultExcelReaderListener()
Method Detail |
---|
public void startDocument()
startDocument
in interface ExcelReaderListener
public void processingInstruction(String target, String data)
processingInstruction
in interface ExcelReaderListener
target
- the target of the processing instructiondata
- the data of the processing instructionpublic void startWorkbook(String systemID)
startWorkbook
in interface ExcelReaderListener
systemID
- the systemID or "source" if no systemID was encounteredpublic void setDocumentProperties(DocumentProperties docProps)
setDocumentProperties
in interface ExcelReaderListener
docProps
- fully populated instance of DocumentPropertiespublic void setExcelWorkbook(ExcelWorkbook excelWb)
setExcelWorkbook
in interface ExcelReaderListener
excelWb
- fully populated instance of ExcelWorkbookpublic void setNamedRange(NamedRange namedRange)
setNamedRange
in interface ExcelReaderListener
namedRange
- fully populated instance of NamedRangepublic void startWorksheet(int sheetIndex, Worksheet sheet)
startWorksheet
in interface ExcelReaderListener
sheetIndex
- the index of the encountered sheet. 0-based.sheet
- dummy instance of Worksheet. Only the (xml-)attributes
of the Worksheet-element have been set on the instancepublic void setNamedRange(int sheetIndex, String sheetName, NamedRange namedRange)
setNamedRange
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the namedRange was foundnamedRange
- fully populated instance of NamedRangepublic void startTable(int sheetIndex, String sheetName, Table table)
startTable
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the table was foundtable
- dummy instance of Table. Only the (xml-)attributes
of the Table-element have been set on the instancepublic void setColumn(int sheetIndex, String sheetName, Column column)
setColumn
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the column was foundcolumn
- fully populated instance of Columnpublic void setRow(int sheetIndex, String sheetName, Row row)
setRow
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the row was foundrow
- fully populated instance of Rowpublic void setCell(int sheetIndex, String sheetName, int rowIndex, Cell cell)
setCell
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the cell was foundrowIndex
- the index of the rowcell
- fully populated instance of Cellpublic void setWorksheetOptions(int sheetIndex, String sheetName, WorksheetOptions wsOptions)
setWorksheetOptions
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the worksheetOptions was foundwsOptions
- fully populated instance of WorksheetOptionspublic void setAutoFilter(int sheetIndex, String sheetName, AutoFilter autoFilter)
setAutoFilter
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheet where the autoFilter was foundautoFilter
- fully populated instance of AutoFilterpublic void endWorksheet(int sheetIndex, String sheetName)
endWorksheet
in interface ExcelReaderListener
sheetIndex
- the index of the worksheet (0-based)sheetName
- the name of the worksheetpublic void endDocument(Map<String,String> prefixMap)
endDocument
in interface ExcelReaderListener
prefixMap
- a map of prefixes (keys) and uri's recieved while reading
|
xelem.3.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |