public class TableElement extends VOElement
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
.
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier and Type | Method and Description |
---|---|
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.
|
getChildByName, getChildren, getChildrenByName, getDescription, getElementsByVOTagName, getElementSequence, getHandle, getID, getName, getParent, getReferencedElement, getSystemId, getVOTagName, toString
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
public FieldElement[] getFields()
ref
attribute.public LinkElement[] getLinks()
public ParamElement[] getParams()
public long getNrows()
nrows
attribute
or from the table data itself.
If this cannot be determined, or cannot be determined efficiently,
the value -1 may be returned.public TabularData getData() throws IOException
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.