Package org.geotools.xml.schema.impl
Class SequenceGT
Object
SequenceGT
- All Implemented Interfaces:
ElementGrouping
,Sequence
- Author:
- dzwiers
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSequenceGT
(String id, ElementGrouping[] children, int min, int max) SequenceGT
(ElementGrouping[] children) -
Method Summary
Modifier and TypeMethodDescriptionfindChildElement
(String name) Convinience method which will search for the specified element within it's children.findChildElement
(String localName, URI namespaceURI) This method returns an ORDERED list of children.int
Returns the mask informing the caller as to the type of object they are dealing with.getId()
The Schema ID for this sequence definition.int
returns the max number of allowable occurences within the xml schema for this construct.int
returns the min number of allowable occurences within the xml schema for this construct.
-
Constructor Details
-
SequenceGT
-
SequenceGT
-
-
Method Details
-
getChildren
Description copied from interface:Sequence
This method returns an ORDERED list of children. The children in the list may be singular elements, sequences, choices, ... , or groups.- Specified by:
getChildren
in interfaceSequence
- See Also:
-
getId
Description copied from interface:Sequence
The Schema ID for this sequence definition. -
getMaxOccurs
public int getMaxOccurs()Description copied from interface:ElementGrouping
returns the max number of allowable occurences within the xml schema for this construct.- Specified by:
getMaxOccurs
in interfaceElementGrouping
- Specified by:
getMaxOccurs
in interfaceSequence
- See Also:
-
getMinOccurs
public int getMinOccurs()Description copied from interface:ElementGrouping
returns the min number of allowable occurences within the xml schema for this construct.- Specified by:
getMinOccurs
in interfaceElementGrouping
- Specified by:
getMinOccurs
in interfaceSequence
- See Also:
-
getGrouping
public int getGrouping()Description copied from interface:ElementGrouping
Returns the mask informing the caller as to the type of object they are dealing with.- Specified by:
getGrouping
in interfaceElementGrouping
- See Also:
-
findChildElement
Description copied from interface: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).- Specified by:
findChildElement
in interfaceElementGrouping
- Parameters:
name
- The Element LocalName (namespace and prefix should not be included)- Returns:
- Element or null if not found.
- See Also:
-
findChildElement
- Specified by:
findChildElement
in interfaceElementGrouping
-