Package org.geotools.xml.filter
Class FilterSchema.FilterElement
Object
FilterElement
- All Implemented Interfaces:
Element,ElementGrouping
- Enclosing class:
- FilterSchema
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFilterElement(String name, Type type) FilterElement(String name, Type type, Element substitutionGroup) -
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) intgetBlock()This returns the default value for the Element as a StringintgetFinal()getFixed()This returns the fixed value for the Element as a StringintReturns the mask informing the caller as to the type of object they are dealing with.getId()The Schema ID for this element definition.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.getName()Returns the element declaration's name in the Schema document, and element name in the instance document.This returns a reference to an element representing this element's substitution group.getType()Returns the declared type for this Element in the given Schema.booleanReturns True when the instance of this XML Schema Element is abstract, false otherwisebooleanisForm()booleanReturns true when the element is nillable, false otherwise
-
Constructor Details
-
FilterElement
-
FilterElement
-
-
Method Details
-
isAbstract
public boolean isAbstract()Description copied from interface:ElementReturns True when the instance of this XML Schema Element is abstract, false otherwise- Specified by:
isAbstractin interfaceElement- See Also:
-
getBlock
public int getBlock() -
getDefault
Description copied from interface:ElementThis returns the default value for the Element as a String- Specified by:
getDefaultin interfaceElement- See Also:
-
getFinal
public int getFinal() -
getFixed
Description copied from interface:ElementThis returns the fixed value for the Element as a String -
isForm
public boolean isForm() -
getId
Description copied from interface:ElementThe Schema ID for this element definition. -
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 interfaceElement- Specified by:
getMaxOccursin interfaceElementGrouping- See Also:
-
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 interfaceElement- Specified by:
getMinOccursin interfaceElementGrouping- See Also:
-
getName
Description copied from interface:ElementReturns the element declaration's name in the Schema document, and element name in the instance document. -
getNamespace
- Specified by:
getNamespacein interfaceElement- See Also:
-
isNillable
public boolean isNillable()Description copied from interface:ElementReturns true when the element is nillable, false otherwise- Specified by:
isNillablein interfaceElement- See Also:
-
getSubstitutionGroup
Description copied from interface:ElementThis returns a reference to an element representing this element's substitution group. This is of particular importance when resolving an instance document's value.- Specified by:
getSubstitutionGroupin interfaceElement- See Also:
-
getType
Description copied from interface:ElementReturns the declared type for this Element in the given Schema. -
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- See Also:
-
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:
name1- The Element LocalName (namespace and prefix should not be included)- Returns:
- Element or null if not found.
- See Also:
-
findChildElement
- Specified by:
findChildElementin interfaceElementGrouping
-