Class ValuesElement

  • All Implemented Interfaces:
    org.w3c.dom.Element, org.w3c.dom.Node

    public class ValuesElement
    extends VOElement
    Field or Param value restriction set represented by a VALUES element in a VOTable.
    Author:
    Mark Taylor (Starlink)
    • Method Detail

      • getMaximum

        public java.lang.String getMaximum()
        Returns the specified maximum value for this ValuesElement object (the value of any Maximum child).
        Returns:
        maximum value, or null if none specified
      • getMinimum

        public java.lang.String getMinimum()
        Returns the specified minimum value for this ValuesElement object (the value of any Minimum child).
        Returns:
        minimum value, or null if none specified
      • getOptions

        public java.lang.String[] getOptions()
        Returns the specified option values for this ValuesElement object.
        Returns:
        an array of option strings ('value' attributes of OPTION children)
      • getNull

        public java.lang.String getNull()
        Returns the 'null' value for this ValuesElement object, that is the value which represents an undefined data value. This is the value of the 'null' attribute of the VALUES element, but does not have anything to do with the Java language null value.
        Returns:
        the 'null' value for this ValuesElement object or, confusingly, null if none is defined
      • getType

        public java.lang.String getType()
        Returns the supplied or implied value of the 'type' attribute of this ValuesElement object. According to the VOTable definition this ought to be one of the strings "actual" or "legal".
        Returns:
        values type