Package org.geotools.xml.schema
Interface All
-
- All Superinterfaces:
ElementGrouping
- All Known Implementing Classes:
AllGT
public interface All extends ElementGrouping
Instances of this interface are intended to represent the 'all' construct in an XML Schema.- Author:
- dzwiers www.refractions.net
- See Also:
Element
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Element[]
getElements()
The list of elements represented within this 'all' declaration.String
getId()
Returns the element declaration's id for this schema element.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
-
getElements
Element[] getElements()
The list of elements represented within this 'all' declaration. We should not that as per the Schema definition of the 'all' declaration, the return order in the array should not have an effect on the instance document.
-
getId
String getId()
Returns the element declaration's id for this schema element.
-
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()
-
-