|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.votable.dom.DelegatingNode
uk.ac.starlink.votable.dom.DelegatingElement
uk.ac.starlink.votable.VOElement
uk.ac.starlink.votable.TableElement
An object representing the TABLE element of a VOTable.
This contains fields, links and rows; the actual data from the table
body may be obtained using the getData()
method.
Note that depending on exactly how this element was obtained,
the nodes bearing the bulk data (e.g. text content of a <STREAM>
element or the <TR> children of a <TABLEDATA> element)
may not actually be available from this node - for efficiency
the VOTable parser may convert them into a TabularData
object
and discard the content of the original (STREAM or TABLEDATA) nodes
which contained the data from the DOM.
The easiest way to access the data stored in a TableElement
is to make it into a VOStarTable
.
Field Summary |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
TabularData |
getData()
Returns an object which can be used to access the actual cell data in the body of this table. |
FieldElement[] |
getFields()
Returns the FIELD elements for this table. |
LinkElement[] |
getLinks()
Returns the LINK elements for this table. |
long |
getNrows()
Returns the number of rows in this table. |
ParamElement[] |
getParams()
Returns the PARAM elements for this table. |
Methods inherited from class uk.ac.starlink.votable.VOElement |
getChildByName, getChildren, getChildrenByName, getDescription, getHandle, getID, getName, getParent, getSystemId, toString |
Methods inherited from class uk.ac.starlink.votable.dom.DelegatingElement |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from class uk.ac.starlink.votable.dom.DelegatingNode |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Method Detail |
public FieldElement[] getFields()
public LinkElement[] getLinks()
public ParamElement[] getParams()
public long getNrows()
public TabularData getData() throws IOException
IOException
|
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 |