Package org.geotools.xml.schema
Interface Sequence
-
- All Superinterfaces:
ElementGrouping
- All Known Implementing Classes:
SequenceGT
public interface Sequence extends ElementGrouping
This interface is intended to represent a Sequence in an XML Schema. This shildren of this sequence are ElementGroupings which may involve Element declarations, Choices, Groups ... or even another Sequence. We recommend flattening child Sequences with the parent, creating a semantically equivalent sequence in it's place.- Author:
- dzwiers www.refractions.net
- See Also:
ElementGrouping
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElementGrouping[]getChildren()This method returns an ORDERED list of children.StringgetId()The Schema ID for this sequence definition.intgetMaxOccurs()returns the max number of allowable occurences within the xml schema for this construct.intgetMinOccurs()returns the min number of allowable occurences within the xml schema for this construct.-
Methods inherited from interface ElementGrouping
findChildElement, findChildElement, getGrouping
-
-
-
-
Method Detail
-
getChildren
ElementGrouping[] getChildren()
This method returns an ORDERED list of children. The children in the list may be singular elements, sequences, choices, ... , or groups.
-
getId
String getId()
The Schema ID for this sequence definition.
-
getMaxOccurs
int getMaxOccurs()
Description copied from interface:ElementGroupingreturns the max number of allowable occurences within the xml schema for this construct.- Specified by:
getMaxOccursin interfaceElementGrouping- See Also:
org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
-
getMinOccurs
int getMinOccurs()
Description copied from interface:ElementGroupingreturns the min number of allowable occurences within the xml schema for this construct.- Specified by:
getMinOccursin interfaceElementGrouping- See Also:
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
-
-