Package org.geotools.xml.schema.impl
Class AllGT
Object
AllGT
- All Implemented Interfaces:
All,ElementGrouping
-
Field Summary
-
Constructor Summary
Constructors -
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) Element[]The list of elements represented within this 'all' declaration.intReturns the mask informing the caller as to the type of object they are dealing with.getId()Returns the element declaration's id for this schema element.intreturns the max number of allowable occurences within the xml schema for this construct.intreturns the min number of allowable occurences within the xml schema for this construct.
-
Constructor Details
-
AllGT
-
AllGT
-
-
Method Details
-
getElements
Description copied from interface:AllThe list of elements represented within this 'all' declaration. We should not that as per the Schema definition of the 'all' declaration, the return order in the array should not have an effect on the instance document.- Specified by:
getElementsin interfaceAll
-
getId
Description copied from interface:AllReturns the element declaration's id for this schema element. -
getMaxOccurs
public int getMaxOccurs()Description copied from interface:ElementGroupingreturns the max number of allowable occurences within the xml schema for this construct.- Specified by:
getMaxOccursin interfaceAll- Specified by:
getMaxOccursin interfaceElementGrouping- See Also:
-
org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
-
getMinOccurs
public int getMinOccurs()Description copied from interface:ElementGroupingreturns the min number of allowable occurences within the xml schema for this construct.- Specified by:
getMinOccursin interfaceAll- Specified by:
getMinOccursin interfaceElementGrouping- See Also:
-
org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
-
getGrouping
public 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 interfaceElementGrouping
-
findChildElement
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 interfaceElementGrouping- Parameters:
name- The Element LocalName (namespace and prefix should not be included)- Returns:
- Element or null if not found.
-
findChildElement
- Specified by:
findChildElementin interfaceElementGrouping
-