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
Module:
modules/library/xml (gt-xml.jar)

Field Summary
 
Fields inherited from interface ElementGrouping
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED
 
Method Summary
 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 interface ElementGrouping
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 interface ElementGrouping
See Also:
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()


Copyright © 1996-2010 Geotools. All Rights Reserved.