public class SequenceGT extends Object implements Sequence
Constructor and Description |
---|
SequenceGT(ElementGrouping[] children) |
SequenceGT(String id,
ElementGrouping[] children,
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) |
ElementGrouping[] |
getChildren()
This method returns an ORDERED list of children.
|
int |
getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with.
|
String |
getId()
The Schema ID for this sequence definition.
|
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 SequenceGT(ElementGrouping[] children)
public SequenceGT(String id, ElementGrouping[] children, int min, int max)
public ElementGrouping[] getChildren()
Sequence
getChildren
in interface Sequence
Sequence.getChildren()
public String getId()
Sequence
getId
in interface Sequence
Sequence.getId()
public int getMaxOccurs()
ElementGrouping
getMaxOccurs
in interface ElementGrouping
getMaxOccurs
in interface Sequence
ElementGrouping.getMaxOccurs()
public int getMinOccurs()
ElementGrouping
getMinOccurs
in interface ElementGrouping
getMinOccurs
in interface Sequence
ElementGrouping.getMinOccurs()
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.