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) int
getBlock()
This returns the default value for the Element as a Stringint
getFinal()
getFixed()
This returns the fixed value for the Element as a Stringint
Returns the mask informing the caller as to the type of object they are dealing with.getId()
The Schema ID for this element 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.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.boolean
Returns True when the instance of this XML Schema Element is abstract, false otherwiseboolean
isForm()
boolean
Returns true when the element is nillable, false otherwise
-
Constructor Details
-
FilterElement
-
FilterElement
-
-
Method Details
-
isAbstract
public boolean isAbstract()Description copied from interface:Element
Returns True when the instance of this XML Schema Element is abstract, false otherwise- Specified by:
isAbstract
in interfaceElement
- See Also:
-
getBlock
public int getBlock() -
getDefault
Description copied from interface:Element
This returns the default value for the Element as a String- Specified by:
getDefault
in interfaceElement
- See Also:
-
getFinal
public int getFinal() -
getFixed
Description copied from interface:Element
This returns the fixed value for the Element as a String -
isForm
public boolean isForm() -
getId
Description copied from interface:Element
The Schema ID for this element 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 interfaceElement
- Specified by:
getMaxOccurs
in interfaceElementGrouping
- 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 interfaceElement
- Specified by:
getMinOccurs
in interfaceElementGrouping
- See Also:
-
getName
Description copied from interface:Element
Returns the element declaration's name in the Schema document, and element name in the instance document. -
getNamespace
- Specified by:
getNamespace
in interfaceElement
- See Also:
-
isNillable
public boolean isNillable()Description copied from interface:Element
Returns true when the element is nillable, false otherwise- Specified by:
isNillable
in interfaceElement
- See Also:
-
getSubstitutionGroup
Description copied from interface:Element
This 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:
getSubstitutionGroup
in interfaceElement
- See Also:
-
getType
Description copied from interface:Element
Returns the declared type for this Element in the given Schema. -
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
-