Interface Group

  • All Superinterfaces:
    ElementGrouping
    All Known Implementing Classes:
    GroupGT, GroupHandler.DefaultGroup

    public interface Group
    extends ElementGrouping
    This interface is intended to represent the Group construct within XML Schemas.

    In many situations it is recommended that groups be flatened out to their child declaration, removing the additional layer of indirection. Although this optimization is nice, it is imposible to complete this all the time, as xml schemas may include publicly viewable Group definitions.

    Author:
    dzwiers www.refractions.net
    • Method Detail

      • getChild

        ElementGrouping getChild()
        Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.
      • getId

        String getId()
        The Group's declaration object id.
      • getMaxOccurs

        int getMaxOccurs()
        The maximum number of times this group may appear in the instance document.
        Specified by:
        getMaxOccurs in interface ElementGrouping
      • getMinOccurs

        int getMinOccurs()
        The minimum number of times this group may appear in the instance document.
        Specified by:
        getMinOccurs in interface ElementGrouping
      • getName

        String getName()
        The group's name in the Schema document
      • getNamespace

        URI getNamespace()