|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is intended to represent a Choice in an XML Schema. The children of this choice are ElementGroupings which may involve Element declarations, Sequence, Groups ... or even another Choices. We recommend flattening child Choices with the parent, creating a semantically equivalent choice in it's place.
Field Summary |
Fields inherited from interface org.geotools.xml.schema.ElementGrouping |
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED |
Method Summary | |
ElementGrouping[] |
getChildren()
This method returns a list of children which repreensts the options for the element which this choice is representing in an XML Schema. |
java.lang.String |
getId()
The Schema ID for this choice 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 org.geotools.xml.schema.ElementGrouping |
findChildElement, getGrouping |
Method Detail |
public java.lang.String getId()
The Schema ID for this choice definition.
public int getMaxOccurs()
ElementGrouping
returns the max number of allowable occurences within the xml schema for this construct.
getMaxOccurs
in interface ElementGrouping
org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
public int getMinOccurs()
ElementGrouping
returns the min number of allowable occurences within the xml schema for this construct.
getMinOccurs
in interface ElementGrouping
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
public ElementGrouping[] getChildren()
This method returns a list of children which repreensts the options for the element which this choice is representing in an XML Schema. Although the list is semantically a set, we encourage you to add elements to the list as they apear, to allow Schema writers to optimize the search order.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |