xelem.3.0

nl.fountain.xelem.lex
Interface ExcelReaderFilter

All Superinterfaces:
ExcelReaderListener
All Known Implementing Classes:
DefaultExcelReaderFilter

public interface ExcelReaderFilter
extends ExcelReaderListener

Recieve notification of parsing events and the construction of XLElements and transmit these events, values and instances to the listeners registered with this ExcelReaderFilter.

Since:
xelem.2.0
See Also:
package overview

Method Summary
 void addExcelReaderListener(ExcelReaderListener listener)
          Registers the given listener.
 void clearExcelReaderListeners()
          Remove all registered listeners.
 List<ExcelReaderListener> getListeners()
          Gets a list of registered listeners.
 boolean removeExcelReaderListener(ExcelReaderListener listener)
          Remove the specified listener.
 
Methods inherited from interface nl.fountain.xelem.lex.ExcelReaderListener
endDocument, endWorksheet, processingInstruction, setAutoFilter, setCell, setColumn, setDocumentProperties, setExcelWorkbook, setNamedRange, setNamedRange, setRow, setWorksheetOptions, startDocument, startTable, startWorkbook, startWorksheet
 

Method Detail

getListeners

List<ExcelReaderListener> getListeners()
Gets a list of registered listeners.

Returns:
a list of registered listeners

addExcelReaderListener

void addExcelReaderListener(ExcelReaderListener listener)
Registers the given listener.

Parameters:
listener - the listener to be registered

removeExcelReaderListener

boolean removeExcelReaderListener(ExcelReaderListener listener)
Remove the specified listener.

Parameters:
listener - the listener to be removed
Returns:
true if the given listener was registered with this ExcelReaderFilter, false otherwise.

clearExcelReaderListeners

void clearExcelReaderListeners()
Remove all registered listeners.


xelem.3.0