org.geotools.xml.schema
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

Field Summary
 
Fields inherited from interface org.geotools.xml.schema.ElementGrouping
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED
 
Method Summary
 ElementGrouping getChild()
           Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.
 java.lang.String getId()
           The Group's declaration object id.
 int getMaxOccurs()
           The maximum number of times this group may appear in the instance document.
 int getMinOccurs()
           The minimum number of times this group may appear in the instance document.
 java.lang.String getName()
           The group's name in the Schema document
 java.net.URI getNamespace()
          DOCUMENT ME!
 
Methods inherited from interface org.geotools.xml.schema.ElementGrouping
findChildElement, getGrouping
 

Method Detail

getChild

public ElementGrouping getChild()

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

Returns:

getId

public java.lang.String getId()

The Group's declaration object id.

Returns:

getMaxOccurs

public int getMaxOccurs()

The maximum number of times this group may appear in the instance document.

Specified by:
getMaxOccurs in interface ElementGrouping
Returns:

getMinOccurs

public int getMinOccurs()

The minimum number of times this group may appear in the instance document.

Specified by:
getMinOccurs in interface ElementGrouping
Returns:

getName

public java.lang.String getName()

The group's name in the Schema document

Returns:

getNamespace

public java.net.URI getNamespace()
DOCUMENT ME!

Returns:


Copyright © GeoTools. All Rights Reserved.