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

Field Summary
 
Fields inherited from interface org.geotools.xml.schema.ElementGrouping
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED
 
Method Summary
 Element[] getElements()
           The list of elements represented within this 'all' declaration.
 java.lang.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 org.geotools.xml.schema.ElementGrouping
findChildElement, getGrouping
 

Method Detail

getElements

public 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.

Returns:

getId

public java.lang.String getId()

Returns the element declaration's id for this schema element.

Returns:

getMaxOccurs

public 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 interface ElementGrouping
Returns:
See Also:
org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()

getMinOccurs

public 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 interface ElementGrouping
Returns:
See Also:
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()


Copyright © GeoTools. All Rights Reserved.