Package org.geotools.xml.schema.impl
Class GroupGT
Object
GroupGT
- All Implemented Interfaces:
ElementGrouping
,Group
- Author:
- dzwiers
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionGroupGT
(String id, String name, URI namespace, ElementGrouping child, int min, int max) Creates a new GroupGT object. -
Method Summary
Modifier and TypeMethodDescriptionfindChildElement
(String name1) Convinience method which will search for the specified element within it's children.findChildElement
(String localName, URI namespaceURI) getChild()
Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.int
Returns the mask informing the caller as to the type of object they are dealing with.getId()
The Group's declaration object id.int
The maximum number of times this group may appear in the instance document.int
The minimum number of times this group may appear in the instance document.getName()
The group's name in the Schema document
-
Constructor Details
-
GroupGT
Creates a new GroupGT object.
-
-
Method Details
-
getChild
Description copied from interface:Group
Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group. -
getId
Description copied from interface:Group
The Group's declaration object id. -
getMaxOccurs
public int getMaxOccurs()Description copied from interface:Group
The maximum number of times this group may appear in the instance document.- Specified by:
getMaxOccurs
in interfaceElementGrouping
- Specified by:
getMaxOccurs
in interfaceGroup
- See Also:
-
getMinOccurs
public int getMinOccurs()Description copied from interface:Group
The minimum number of times this group may appear in the instance document.- Specified by:
getMinOccurs
in interfaceElementGrouping
- Specified by:
getMinOccurs
in interfaceGroup
- See Also:
-
getName
Description copied from interface:Group
The group's name in the Schema document -
getNamespace
- Specified by:
getNamespace
in interfaceGroup
- 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:
name1
- 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
-