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
Module:
modules/library/xml (gt-xml.jar)

Field Summary
 
Fields inherited from interface 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.
 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.
 String getName()
           The group's name in the Schema document
 URI getNamespace()
          DOCUMENT ME!
 
Methods inherited from interface ElementGrouping
findChildElement, findChildElement, getGrouping
 

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()
DOCUMENT ME!



Copyright © 1996-2009 Geotools. All Rights Reserved.