public class GroupGT extends Object implements Group
| Constructor and Description |
|---|
GroupGT(String id,
String name,
URI namespace,
ElementGrouping child,
int min,
int max)
Creates a new GroupGT object.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
findChildElement(String name1)
Convinience method which will search for the specified element within it's children.
|
Element |
findChildElement(String localName,
URI namespaceURI) |
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.
|
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.
|
String |
getName()
The group's name in the Schema document
|
URI |
getNamespace()
DOCUMENT ME!
|
public GroupGT(String id, String name, 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!public ElementGrouping getChild()
GroupgetChild in interface GroupGroup.getChild()public String getId()
GroupgetId in interface GroupGroup.getId()public int getMaxOccurs()
GroupgetMaxOccurs in interface ElementGroupinggetMaxOccurs in interface GroupElementGrouping.getMaxOccurs()public int getMinOccurs()
GroupgetMinOccurs in interface ElementGroupinggetMinOccurs in interface GroupElementGrouping.getMinOccurs()public String getName()
GroupgetName in interface GroupGroup.getName()public URI getNamespace()
GroupgetNamespace in interface GroupGroup.getNamespace()public int getGrouping()
ElementGroupinggetGrouping in interface ElementGroupingElementGrouping.getGrouping()public Element findChildElement(String name1)
ElementGroupingfindChildElement in interface ElementGroupingname1 - The Element LocalName (namespace and prefix should not be included)ElementGrouping.findChildElement(java.lang.String)public Element findChildElement(String localName, URI namespaceURI)
findChildElement in interface ElementGroupingCopyright © 1996–2019 Geotools. All rights reserved.