|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.xml.schema.impl.AllGT
| Field Summary |
| Fields inherited from interface org.geotools.xml.schema.ElementGrouping |
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED |
| Constructor Summary | |
AllGT(Element[] elements)
|
|
AllGT(java.lang.String id,
Element[] elements,
int min,
int max)
|
|
| Method Summary | |
Element |
findChildElement(java.lang.String name)
Convinience method which will search for the specified element within it's children. |
Element[] |
getElements()
The list of elements represented within this 'all' declaration. |
int |
getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with. |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AllGT(Element[] elements)
public AllGT(java.lang.String id,
Element[] elements,
int min,
int max)
| Method Detail |
public Element[] getElements()
AllThe 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.
getElements in interface Allpublic java.lang.String getId()
AllReturns the element declaration's id for this schema element.
getId in interface Allpublic int getMaxOccurs()
ElementGroupingreturns the max number of allowable occurences within the xml schema for this construct.
getMaxOccurs in interface Allorg.geotools.xml.xsi.ElementGrouping#getMaxOccurs()public int getMinOccurs()
ElementGroupingreturns the min number of allowable occurences within the xml schema for this construct.
getMinOccurs in interface Allorg.geotools.xml.xsi.ElementGrouping#getMinOccurs()public int getGrouping()
ElementGroupingReturns the mask informing the caller as to the type of object they are dealing with.
getGrouping in interface ElementGroupingpublic Element findChildElement(java.lang.String name)
ElementGroupingConvinience method which will search for the specified element within it's children. This is typically implemented recursively, and as such may be expensive to execute (so don't call me too much if you want to be fast).
findChildElement in interface ElementGroupingname - The Element LocalName (namespace and prefix should not be
included)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||