|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.xml.schema.impl.SequenceGT
DOCUMENT ME!
Field Summary |
Fields inherited from interface org.geotools.xml.schema.ElementGrouping |
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED |
Constructor Summary | |
SequenceGT(ElementGrouping[] children)
|
|
SequenceGT(java.lang.String id,
ElementGrouping[] children,
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. |
ElementGrouping[] |
getChildren()
This method returns an ORDERED list of children. |
int |
getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with. |
java.lang.String |
getId()
The Schema ID for this sequence 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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SequenceGT(ElementGrouping[] children)
public SequenceGT(java.lang.String id, ElementGrouping[] children, int min, int max)
Method Detail |
public ElementGrouping[] getChildren()
Sequence
This method returns an ORDERED list of children. The children in the list may be singular elements, sequences, choices, ... , or groups.
getChildren
in interface Sequence
Sequence.getChildren()
public java.lang.String getId()
Sequence
The Schema ID for this sequence definition.
getId
in interface Sequence
Sequence.getId()
public int getMaxOccurs()
ElementGrouping
returns the max number of allowable occurences within the xml schema for this construct.
getMaxOccurs
in interface Sequence
ElementGrouping.getMaxOccurs()
public int getMinOccurs()
ElementGrouping
returns the min number of allowable occurences within the xml schema for this construct.
getMinOccurs
in interface Sequence
ElementGrouping.getMinOccurs()
public int getGrouping()
ElementGrouping
Returns the mask informing the caller as to the type of object they are dealing with.
getGrouping
in interface ElementGrouping
ElementGrouping.getGrouping()
public Element findChildElement(java.lang.String name)
ElementGrouping
Convinience 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 ElementGrouping
name
- The Element LocalName (namespace and prefix should not be
included)
ElementGrouping.findChildElement(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |