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()
Group
getChild
in interface Group
Group.getChild()
public String getId()
Group
getId
in interface Group
Group.getId()
public int getMaxOccurs()
Group
getMaxOccurs
in interface ElementGrouping
getMaxOccurs
in interface Group
ElementGrouping.getMaxOccurs()
public int getMinOccurs()
Group
getMinOccurs
in interface ElementGrouping
getMinOccurs
in interface Group
ElementGrouping.getMinOccurs()
public String getName()
Group
getName
in interface Group
Group.getName()
public URI getNamespace()
Group
getNamespace
in interface Group
Group.getNamespace()
public int getGrouping()
ElementGrouping
getGrouping
in interface ElementGrouping
ElementGrouping.getGrouping()
public Element findChildElement(String name1)
ElementGrouping
findChildElement
in interface ElementGrouping
name1
- 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 ElementGrouping
Copyright © 1996–2019 Geotools. All rights reserved.