Class GroupElement

All Implemented Interfaces:
Element, Node

public class GroupElement extends VOElement
Object representing a GROUP element in a VOTable. Methods exist for retrieving the FIELDs and PARAMs associated with this group, some or all of which may be referenced using FIELDref/PARAMref elements to reference the originals. If you want the FIELDref/PARAMref children themselves, you can use the generic VOElement/Element/Node methods.
Since:
16 Sep 2004
Author:
Mark Taylor (Starlink)
  • Method Details

    • getParams

      public ParamElement[] getParams()
      Returns an array of the PARAMs associated with this group. The returned list contains all the PARAM children and all the PARAMs referenced by all the PARAMref children. Any PARAMref which doesn't reference an existing PARAM is ignored. The result is in the same order as the children.
      Returns:
      PARAM elements represented by children of this group
    • getFields

      public FieldElement[] getFields()
      Returns an array of the FIELDs associated with this group. The returned list contains the FIELD elements referenced by the FIELDref children of this element. Any FIELDref which doesn't reference an existing FIELD is ignored. The result is in the same order as the children.
      Returns:
      FIELD elements represented by children of this group
    • getGroups

      public GroupElement[] getGroups()
      Returns the GROUP children of this element.
      Returns:
      group elements which are direct children of this