uk.ac.starlink.votable
Class ParamElement
java.lang.Object
|
+--uk.ac.starlink.votable.VOElement
|
+--uk.ac.starlink.votable.FieldElement
|
+--uk.ac.starlink.votable.ParamElement
- public class ParamElement
- extends FieldElement
Object representing a PARAM element in a VOTable.
Methods inherited from class uk.ac.starlink.votable.VOElement |
equals, getAttribute, getAttribute, getChildByName, getChildren, getChildrenByName, getContext, getDescendantsByName, getDescription, getElement, getHandle, getID, getName, getParent, getSource, getSystemId, getTagName, getTextContent, hasAttribute, hashCode |
ParamElement
public ParamElement(Element el,
String systemId)
getValue
public String getValue()
- Returns the value of the value attribute,
or an empty string if it has none.
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
toString
public String toString()
- Description copied from class:
VOElement
- Returns the same value as
VOElement.getHandle()
.
- Overrides:
toString
in class FieldElement
- Returns:
- a string representation of this object