uk.ac.starlink.votable
Class ParamElement

java.lang.Object
  |
  +--uk.ac.starlink.votable.dom.DelegatingNode
        |
        +--uk.ac.starlink.votable.dom.DelegatingElement
              |
              +--uk.ac.starlink.votable.VOElement
                    |
                    +--uk.ac.starlink.votable.FieldElement
                          |
                          +--uk.ac.starlink.votable.ParamElement
All Implemented Interfaces:
Element, Node

public class ParamElement
extends FieldElement

Object representing a PARAM element in a VOTable.


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
 Object getObject()
          Returns the object represented by the value of this Param.
 String getValue()
          Returns the value of the value attribute, or an empty string if it has none.
 
Methods inherited from class uk.ac.starlink.votable.FieldElement
getActualValues, getArraysize, getDatatype, getIndexInTable, getLegalValues, getNull, getUcd, getUnit, toString
 
Methods inherited from class uk.ac.starlink.votable.VOElement
getChildByName, getChildren, getChildrenByName, getDescription, getHandle, getID, getName, getParent, getSystemId
 
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

getValue

public String getValue()
Returns the value of the value attribute, or an empty string if it has none.

Returns:
the value string

getObject

public Object getObject()
Returns the object represented by the value of this Param. This is constructed by decoding the value attribute in the same way as for TABLEDATA content of a table for a FIELD of this kind.

Returns:
the value object

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.