|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAnyGT
public class AnyGT
DOCUMENT ME!
Field Summary |
---|
Fields inherited from interface Any |
---|
ALL |
Fields inherited from interface ElementGrouping |
---|
ANY, CHOICE, ELEMENT, GROUP, SEQUENCE, UNBOUNDED |
Constructor Summary | |
---|---|
AnyGT(URI namespace)
|
|
AnyGT(URI namespace,
int min,
int max)
|
Method Summary | |
---|---|
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. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnyGT(URI namespace)
public AnyGT(URI namespace, int min, int max)
Method Detail |
---|
public String getId()
Any
Returns the element declaration's id for this schema element.
getId
in interface Any
Any.getId()
public int getMaxOccurs()
ElementGrouping
returns the max number of allowable occurences within the xml schema for this construct.
getMaxOccurs
in interface Any
getMaxOccurs
in interface ElementGrouping
ElementGrouping.getMaxOccurs()
public int getMinOccurs()
ElementGrouping
returns the min number of allowable occurences within the xml schema for this construct.
getMinOccurs
in interface Any
getMinOccurs
in interface ElementGrouping
ElementGrouping.getMinOccurs()
public URI getNamespace()
Any
Returns the namespace attribute of the 'any' contruct that an instance of this interface is representing within an XML Schema.
getNamespace
in interface Any
Any.getNamespace()
public int getGrouping()
ElementGrouping
Returns the mask informing the caller as to the type of object they are dealing with.
getGrouping
in interface ElementGrouping
ElementGrouping.getGrouping()
public Element findChildElement(String name)
ElementGrouping
Convinience 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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |