Package org.geotools.xml.schema.impl
Class GroupGT
- Object
- 
- GroupGT
 
- 
- All Implemented Interfaces:
- ElementGrouping,- Group
 
 public class GroupGT extends Object implements Group - Author:
- dzwiers
 
- 
- 
Constructor SummaryConstructors Constructor Description GroupGT(String id, String name, URI namespace, ElementGrouping child, int min, int max)Creates a new GroupGT object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementfindChildElement(String name1)Convinience method which will search for the specified element within it's children.ElementfindChildElement(String localName, URI namespaceURI)ElementGroupinggetChild()Returns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.intgetGrouping()Returns the mask informing the caller as to the type of object they are dealing with.StringgetId()The Group's declaration object id.intgetMaxOccurs()The maximum number of times this group may appear in the instance document.intgetMinOccurs()The minimum number of times this group may appear in the instance document.StringgetName()The group's name in the Schema documentURIgetNamespace()
 
- 
- 
- 
Constructor Detail- 
GroupGTpublic GroupGT(String id, String name, URI namespace, ElementGrouping child, int min, int max) Creates a new GroupGT object.
 
- 
 - 
Method Detail- 
getChildpublic ElementGrouping getChild() Description copied from interface:GroupReturns the Child Schema element (Choice or Sequence) declaring valid element sequences for this group.- Specified by:
- getChildin interface- Group
- See Also:
- Group.getChild()
 
 - 
getIdpublic String getId() Description copied from interface:GroupThe Group's declaration object id.- Specified by:
- getIdin interface- Group
- See Also:
- Group.getId()
 
 - 
getMaxOccurspublic int getMaxOccurs() Description copied from interface:GroupThe maximum number of times this group may appear in the instance document.- Specified by:
- getMaxOccursin interface- ElementGrouping
- Specified by:
- getMaxOccursin interface- Group
- See Also:
- ElementGrouping.getMaxOccurs()
 
 - 
getMinOccurspublic int getMinOccurs() Description copied from interface:GroupThe minimum number of times this group may appear in the instance document.- Specified by:
- getMinOccursin interface- ElementGrouping
- Specified by:
- getMinOccursin interface- Group
- See Also:
- ElementGrouping.getMinOccurs()
 
 - 
getNamepublic String getName() Description copied from interface:GroupThe group's name in the Schema document- Specified by:
- getNamein interface- Group
- See Also:
- Group.getName()
 
 - 
getNamespacepublic URI getNamespace() - Specified by:
- getNamespacein interface- Group
- See Also:
- Group.getNamespace()
 
 - 
getGroupingpublic int getGrouping() Description copied from interface:ElementGroupingReturns the mask informing the caller as to the type of object they are dealing with.- Specified by:
- getGroupingin interface- ElementGrouping
- See Also:
- ElementGrouping.getGrouping()
 
 - 
findChildElementpublic Element findChildElement(String name1) Description copied from interface:ElementGroupingConvinience 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:
- findChildElementin interface- ElementGrouping
- Parameters:
- name1- The Element LocalName (namespace and prefix should not be included)
- Returns:
- Element or null if not found.
- See Also:
- ElementGrouping.findChildElement(java.lang.String)
 
 - 
findChildElementpublic Element findChildElement(String localName, URI namespaceURI) - Specified by:
- findChildElementin interface- ElementGrouping
 
 
- 
 
-