|
xelem.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExcelReaderListener
Recieve notification of parsing events and the construction of
XLElements.
A registered ExcelReaderListener listens to events fired by ExcelReader
while the ExcelReader is reading xml-spreadsheets of type spreadsheetML.
| Method Summary | |
|---|---|
void |
endDocument(Map<String,String> prefixMap)
Recieve notification of the end of the document. |
void |
endWorksheet(int sheetIndex,
String sheetName)
Recieve notification of the end of a worksheet. |
void |
processingInstruction(String target,
String data)
Recieve notification of processing instruction. |
void |
setAutoFilter(int sheetIndex,
String sheetName,
AutoFilter autoFilter)
Recieve notification of the the construction of AutoFilter. |
void |
setCell(int sheetIndex,
String sheetName,
int rowIndex,
Cell cell)
Recieve notification of the the construction of a Cell. |
void |
setColumn(int sheetIndex,
String sheetName,
Column column)
Recieve notification of the the construction of a Column. |
void |
setDocumentProperties(DocumentProperties docProps)
Recieve notification of the the construction of DocumentProperties. |
void |
setExcelWorkbook(ExcelWorkbook excelWb)
Recieve notification of the the construction of ExcelWorkbook. |
void |
setNamedRange(int sheetIndex,
String sheetName,
NamedRange namedRange)
Recieve notification of the the construction of a NamedRange on the worksheet level. |
void |
setNamedRange(NamedRange namedRange)
Recieve notification of the the construction of a NamedRange on the workbook level. |
void |
setRow(int sheetIndex,
String sheetName,
Row row)
Recieve notification of the the construction of a Row. |
void |
setWorksheetOptions(int sheetIndex,
String sheetName,
WorksheetOptions wsOptions)
Recieve notification of the the construction of WorksheetOptions. |
void |
startDocument()
Recieve notification of the start of the document. |
void |
startTable(int sheetIndex,
String sheetName,
Table table)
Recieve notification of the start of a Table tag. |
void |
startWorkbook(String systemID)
Recieve notification of the start of the Workbook tag. |
void |
startWorksheet(int sheetIndex,
Worksheet sheet)
Recieve notification of the the start of a Worksheet tag. |
| Method Detail |
|---|
void startDocument()
void processingInstruction(String target,
String data)
target - the target of the processing instructiondata - the data of the processing instructionvoid startWorkbook(String systemID)
systemID - the systemID or "source" if no systemID was encounteredvoid setDocumentProperties(DocumentProperties docProps)
docProps - fully populated instance of DocumentPropertiesvoid setExcelWorkbook(ExcelWorkbook excelWb)
excelWb - fully populated instance of ExcelWorkbookvoid setNamedRange(NamedRange namedRange)
namedRange - fully populated instance of NamedRange
void startWorksheet(int sheetIndex,
Worksheet sheet)
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 instance
void setNamedRange(int sheetIndex,
String sheetName,
NamedRange namedRange)
sheetIndex - the index of the worksheet (0-based)sheetName - the name of the worksheet where the namedRange was foundnamedRange - fully populated instance of NamedRange
void startTable(int sheetIndex,
String sheetName,
Table table)
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 instance
void setColumn(int sheetIndex,
String sheetName,
Column column)
column.getIndex().
sheetIndex - the index of the worksheet (0-based)sheetName - the name of the worksheet where the column was foundcolumn - fully populated instance of Column
void setRow(int sheetIndex,
String sheetName,
Row row)
row.getIndex().
sheetIndex - the index of the worksheet (0-based)sheetName - the name of the worksheet where the row was foundrow - fully populated instance of Row
void setCell(int sheetIndex,
String sheetName,
int rowIndex,
Cell cell)
cell.getIndex().
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 Cell
void setWorksheetOptions(int sheetIndex,
String sheetName,
WorksheetOptions wsOptions)
sheetIndex - the index of the worksheet (0-based)sheetName - the name of the worksheet where the worksheetOptions was foundwsOptions - fully populated instance of WorksheetOptions
void setAutoFilter(int sheetIndex,
String sheetName,
AutoFilter autoFilter)
sheetIndex - the index of the worksheet (0-based)sheetName - the name of the worksheet where the autoFilter was foundautoFilter - fully populated instance of AutoFilter
void endWorksheet(int sheetIndex,
String sheetName)
sheetIndex - the index of the worksheet (0-based)sheetName - the name of the worksheetvoid endDocument(Map<String,String> prefixMap)
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 | |||||||||