|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableHandler
SAX-like handler which defines callbacks that can be made when a VOTable data is encountered during a SAX stream.
TableContentHandler
Method Summary | |
---|---|
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. |
Method Detail |
---|
void startTable(StarTable metadata) throws SAXException
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 object
SAXException
void rowData(Object[] row) throws SAXException
row
- array of data objects representing a row in the
current table
SAXException
void endTable() throws SAXException
SAXException
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |