uk.ac.starlink.votable
Class FieldRefElement

java.lang.Object
  extended byuk.ac.starlink.votable.dom.DelegatingNode
      extended byuk.ac.starlink.votable.dom.DelegatingElement
          extended byuk.ac.starlink.votable.VOElement
              extended byuk.ac.starlink.votable.FieldRefElement
All Implemented Interfaces:
Element, Node

public class FieldRefElement
extends VOElement

Object representing a FIELDref element.

Since:
16 Sep 2004

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
 FieldElement getField()
          Returns the FIELD element referenced by this FIELDref.
 String getUcd()
          Returns the value of the ucd attribute, or null if there is none.
 String getUtype()
          Returns the value of the utype attribute, or null if there is none.
 
Methods inherited from class uk.ac.starlink.votable.VOElement
getChildByName, getChildren, getChildrenByName, getDescription, getElementsByVOTagName, getHandle, getID, getName, getParent, getSystemId, getVOTagName, 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

getField

public FieldElement getField()
Returns the FIELD element referenced by this FIELDref. If this element has no ref attribute, or if it doesn't refer to a FIELD element (neither of which ought to happen for a sensible document) then null is returned.

Returns:
referent FIELD

getUcd

public String getUcd()
Returns the value of the ucd attribute, or null if there is none. Note that (since VOTable 1.2) this may differ from the ucd of the referenced FIELD.

Returns:
the ucd string
See Also:
UCD

getUtype

public String getUtype()
Returns the value of the utype attribute, or null if there is none. Note that (since VOTable 1.2) this may differ from the utype of the referenced FIELD.

Returns:
the utype string

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