Package 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 documentURI
getNamespace()
-
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 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()
-
-