public class AllGT extends Object implements All
Constructor and Description |
---|
AllGT(Element[] elements) |
AllGT(String id,
Element[] elements,
int min,
int max) |
Modifier and Type | Method and Description |
---|---|
Element |
findChildElement(String name)
Convinience method which will search for the specified element within it's children.
|
Element |
findChildElement(String localName,
URI namespaceURI) |
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.
|
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.
|
public AllGT(Element[] elements)
public Element[] getElements()
All
getElements
in interface All
public String getId()
All
public int getMaxOccurs()
ElementGrouping
getMaxOccurs
in interface All
getMaxOccurs
in interface ElementGrouping
org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
public int getMinOccurs()
ElementGrouping
getMinOccurs
in interface All
getMinOccurs
in interface ElementGrouping
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
public int getGrouping()
ElementGrouping
getGrouping
in interface ElementGrouping
public Element findChildElement(String name)
ElementGrouping
findChildElement
in interface ElementGrouping
name
- The Element LocalName (namespace and prefix should not be included)public Element findChildElement(String localName, URI namespaceURI)
findChildElement
in interface ElementGrouping
Copyright © 1996–2019 Geotools. All rights reserved.