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.String
getId()
The Schema ID for this sequence definition.int
getMaxOccurs()
returns the max number of allowable occurences within the xml schema for this construct.int
getMinOccurs()
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:ElementGrouping
returns the max number of allowable occurences within the xml schema for this construct.- Specified by:
getMaxOccurs
in interfaceElementGrouping
- See Also:
org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
-
getMinOccurs
int getMinOccurs()
Description copied from interface:ElementGrouping
returns the min number of allowable occurences within the xml schema for this construct.- Specified by:
getMinOccurs
in interfaceElementGrouping
- See Also:
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
-
-