Package org.geotools.xml.schema
Interface Sequence
- All Superinterfaces:
ElementGrouping
- All Known Implementing Classes:
SequenceGT
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:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns an ORDERED list of children.getId()The Schema ID for this sequence definition.intreturns the max number of allowable occurences within the xml schema for this construct.intreturns the min number of allowable occurences within the xml schema for this construct.Methods inherited from interface ElementGrouping
findChildElement, findChildElement, getGrouping
-
Method Details
-
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()
-