Package org.geotools.xml.schema
Interface Group
- All Superinterfaces:
ElementGrouping
- All Known Implementing Classes:
GroupGT
,GroupHandler.DefaultGroup
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
-
Method Summary
Modifier and TypeMethodDescriptiongetChild()
Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.getId()
The Group's declaration object id.int
The maximum number of times this group may appear in the instance document.int
The minimum number of times this group may appear in the instance document.getName()
The group's name in the Schema documentMethods inherited from interface ElementGrouping
findChildElement, findChildElement, getGrouping
-
Method Details
-
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 interfaceElementGrouping
-
getMinOccurs
int getMinOccurs()The minimum number of times this group may appear in the instance document.- Specified by:
getMinOccurs
in interfaceElementGrouping
-
getName
String getName()The group's name in the Schema document -
getNamespace
URI getNamespace()
-