Class ValuesElement

All Implemented Interfaces:
Element, 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 Details

    • getMaximum

      public 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 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 String[] getOptions()
      Returns the specified option values for this ValuesElement object.
      Returns:
      an array of option strings ('value' attributes of OPTION children)
    • getNull

      public 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 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