public interface ElementGrouping
To avoid multiple type checks, a group mask was include, as described below.
Modifier and Type | Field and Description |
---|---|
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 |
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.
|
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.
|
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
int getGrouping()
Element findChildElement(String name)
name
- The Element LocalName (namespace and prefix should not be included)int getMaxOccurs()
int getMinOccurs()
Copyright © 1996–2019 Geotools. All rights reserved.