|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementGrouping
This represents an abstract collection of xml element definitions within a Schema.
To avoid multiple type checks, a group mask was include, as described below.
Field Summary | |
---|---|
static int |
ALL
ElementGrouping mask to determine the type of ElementGrouping represented. |
static int |
ANY
ElementGrouping mask to determine the type of ElementGrouping represented. |
static int |
CHOICE
ElementGrouping mask to determine the type of ElementGrouping represented. |
static int |
ELEMENT
ElementGrouping mask to determine the type of ElementGrouping represented. |
static int |
GROUP
ElementGrouping mask to determine the type of ElementGrouping represented. |
static int |
SEQUENCE
ElementGrouping mask to determine the type of ElementGrouping represented. |
static int |
UNBOUNDED
|
Method Summary | |
---|---|
Element |
findChildElement(java.lang.String name)
Convinience method which will search for the specified element within it's children. |
Element |
findChildElement(java.lang.String localName,
java.net.URI namespaceURI)
|
int |
getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with. |
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. |
Field Detail |
---|
static final int ELEMENT
static final int GROUP
static final int ANY
static final int SEQUENCE
static final int CHOICE
static final int ALL
static final int UNBOUNDED
Method Detail |
---|
int getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with.
Element findChildElement(java.lang.String name)
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).
name
- The Element LocalName (namespace and prefix should not be
included)
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.
Element findChildElement(java.lang.String localName, java.net.URI namespaceURI)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |