public interface TableHandler
TableContentHandler
Modifier and Type | Method and Description |
---|---|
void |
endTable()
Called when there are no more rows to be transmitted.
|
void |
rowData(Object[] row)
Called when a row has been read.
|
void |
startTable(StarTable metadata)
Called when a table is about to be transmitted.
|
void startTable(StarTable metadata) throws SAXException
startElement
and endElement
calls.
The metadata
argument signals column and table metadata
argument about the table whose rows are about to be transmitted.
If the number of rows that will be transmitted via subsequent
calls to rowData
is known, this value should be made
available as the row count of metadata
(StarTable.getRowCount()
); if it is not known, the row count
should be -1. However, this object should not attempt to read
any of meta
's cell data.
The data to be transmitted in subsequent calls of acceptRow
must match the metadata transmitted in this call in the same way
that rows of a StarTable must match its own metadata (number and
content clases of columns etc).
metadata
- metadata objectSAXException
void rowData(Object[] row) throws SAXException
startTable
and endTable
calls.row
- array of data objects representing a row in the
current tableSAXException
void endTable() throws SAXException
SAXException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.