Class AbstractTableListener
java.lang.Object
com.onenetwork.platform.common.table.AbstractTableListener
- All Implemented Interfaces:
TableListener
public class AbstractTableListener extends java.lang.Object implements TableListener
Convenient base class for implementing
TableListener
. All methods
implemented in this class are no-ops.-
Constructor Summary
Constructors Constructor Description AbstractTableListener()
-
Method Summary
Modifier and Type Method Description void
beginTable(TableMetaData tableMetaData)
This event is fired just after the TableMetaData is constructed and before TableRows are constructed.void
endTable()
This event is fired when all TableRows are constructed to allow implementors to perform cleanup operations.void
processRow(TableRow tableRow)
This event is fired sequentially as each TableRow is constructed; interested parties can listen to this method to process each row.
-
Constructor Details
-
AbstractTableListener
public AbstractTableListener()
-
-
Method Details
-
beginTable
Description copied from interface:TableListener
This event is fired just after the TableMetaData is constructed and before TableRows are constructed.- Specified by:
beginTable
in interfaceTableListener
- Parameters:
tableMetaData
- describes the table structure- Throws:
TableListenerException
- - processing will abort if this exception is thrown.
-
endTable
Description copied from interface:TableListener
This event is fired when all TableRows are constructed to allow implementors to perform cleanup operations.- Specified by:
endTable
in interfaceTableListener
- Throws:
TableListenerException
- - processing will abort if this exception is thrown.
-
processRow
Description copied from interface:TableListener
This event is fired sequentially as each TableRow is constructed; interested parties can listen to this method to process each row.- Specified by:
processRow
in interfaceTableListener
- Parameters:
tableRow
- row being processed- Throws:
TableListenerException
- - processing will abort if this exception is thrown.
-