|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.xml.schema.impl.GroupGT
DOCUMENT ME!
| Field Summary |
| Fields inherited from interface org.geotools.xml.schema.ElementGrouping |
ALL, ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED |
| Constructor Summary | |
GroupGT(java.lang.String id,
java.lang.String name,
java.net.URI namespace,
ElementGrouping child,
int min,
int max)
Creates a new GroupGT object. |
|
| Method Summary | |
Element |
findChildElement(java.lang.String name1)
Convinience method which will search for the specified element within it's children. |
ElementGrouping |
getChild()
Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group. |
int |
getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with. |
java.lang.String |
getId()
The Group's declaration object id. |
int |
getMaxOccurs()
The maximum number of times this group may appear in the instance document. |
int |
getMinOccurs()
The minimum number of times this group may appear in the instance document. |
java.lang.String |
getName()
The group's name in the Schema document |
java.net.URI |
getNamespace()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupGT(java.lang.String id,
java.lang.String name,
java.net.URI namespace,
ElementGrouping child,
int min,
int max)
id - DOCUMENT ME!name - DOCUMENT ME!namespace - DOCUMENT ME!child - DOCUMENT ME!min - DOCUMENT ME!max - DOCUMENT ME!| Method Detail |
public ElementGrouping getChild()
GroupReturns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.
getChild in interface GroupGroup.getChild()public java.lang.String getId()
GroupThe Group's declaration object id.
getId in interface GroupGroup.getId()public int getMaxOccurs()
GroupThe maximum number of times this group may appear in the instance document.
getMaxOccurs in interface GroupElementGrouping.getMaxOccurs()public int getMinOccurs()
GroupThe minimum number of times this group may appear in the instance document.
getMinOccurs in interface GroupElementGrouping.getMinOccurs()public java.lang.String getName()
GroupThe group's name in the Schema document
getName in interface GroupGroup.getName()public java.net.URI getNamespace()
Group
getNamespace in interface GroupGroup.getNamespace()public int getGrouping()
ElementGroupingReturns the mask informing the caller as to the type of object they are dealing with.
getGrouping in interface ElementGroupingElementGrouping.getGrouping()public Element findChildElement(java.lang.String name1)
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 ElementGroupingname1 - 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 | ||||||||||