public class AnyGT extends Object implements Any
Constructor and Description |
---|
AnyGT(URI namespace) |
AnyGT(URI namespace,
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) |
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.
|
URI |
getNamespace()
Returns the namespace attribute of the 'any' contruct that an instance of this interface is
representing within an XML Schema.
|
public AnyGT(URI namespace)
public AnyGT(URI namespace, int min, int max)
public String getId()
Any
getId
in interface Any
Any.getId()
public int getMaxOccurs()
ElementGrouping
getMaxOccurs
in interface Any
getMaxOccurs
in interface ElementGrouping
ElementGrouping.getMaxOccurs()
public int getMinOccurs()
ElementGrouping
getMinOccurs
in interface Any
getMinOccurs
in interface ElementGrouping
ElementGrouping.getMinOccurs()
public URI getNamespace()
Any
getNamespace
in interface Any
Any.getNamespace()
public int getGrouping()
ElementGrouping
getGrouping
in interface ElementGrouping
ElementGrouping.getGrouping()
public Element findChildElement(String name)
ElementGrouping
findChildElement
in interface ElementGrouping
name
- 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.