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.StringgetId()Returns the element declaration's id for this schema element.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
-
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: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()
-
-