Interface Sequence

All Superinterfaces:
ElementGrouping
All Known Implementing Classes:
SequenceGT

public interface Sequence extends ElementGrouping
This interface is intended to represent a Sequence in an XML Schema. This shildren of this sequence are ElementGroupings which may involve Element declarations, Choices, Groups ... or even another Sequence. We recommend flattening child Sequences with the parent, creating a semantically equivalent sequence in it's place.
Author:
dzwiers www.refractions.net
See Also:
  • Method Details

    • getChildren

      ElementGrouping[] getChildren()
      This method returns an ORDERED list of children. The children in the list may be singular elements, sequences, choices, ... , or groups.
    • getId

      String getId()
      The Schema ID for this sequence definition.
    • getMaxOccurs

      int getMaxOccurs()
      Description copied from interface: ElementGrouping
      returns the max number of allowable occurences within the xml schema for this construct.
      Specified by:
      getMaxOccurs in interface ElementGrouping
      See Also:
      • org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
    • getMinOccurs

      int getMinOccurs()
      Description copied from interface: ElementGrouping
      returns the min number of allowable occurences within the xml schema for this construct.
      Specified by:
      getMinOccurs in interface ElementGrouping
      See Also:
      • org.geotools.xml.xsi.ElementGrouping#getMinOccurs()