public static class FilterSchema.FilterElement extends Object implements Element
Constructor and Description |
---|
FilterElement(String name,
Type type) |
FilterElement(String name,
Type type,
Element substitutionGroup) |
Modifier and Type | Method and Description |
---|---|
Element |
findChildElement(String name1)
Convinience method which will search for the specified element within it's children.
|
Element |
findChildElement(String localName,
URI namespaceURI) |
int |
getBlock() |
String |
getDefault()
This returns the default value for the Element as a String
|
int |
getFinal() |
String |
getFixed()
This returns the fixed value for the Element as a String
|
int |
getGrouping()
Returns the mask informing the caller as to the type of object they are dealing with.
|
String |
getId()
The Schema ID for this element definition.
|
int |
getMaxOccurs()
returns the max number of allowable occurences within the xml schema for this construct.
|
int |
getMinOccurs()
returns the min number of allowable occurences within the xml schema for this construct.
|
String |
getName()
Returns the element declaration's name in the Schema document, and element name in the
instance document.
|
URI |
getNamespace() |
Element |
getSubstitutionGroup()
This returns a reference to an element representing this element's substitution group.
|
Type |
getType()
Returns the declared type for this Element in the given Schema.
|
boolean |
isAbstract()
Returns True when the instance of this XML Schema Element is abstract, false otherwise
|
boolean |
isForm() |
boolean |
isNillable()
Returns true when the element is nillable, false otherwise
|
public boolean isAbstract()
Element
isAbstract
in interface Element
Element.isAbstract()
public int getBlock()
getBlock
in interface Element
Element.getBlock()
public String getDefault()
Element
getDefault
in interface Element
Element.getDefault()
public int getFinal()
getFinal
in interface Element
Element.getFinal()
public String getFixed()
Element
getFixed
in interface Element
Element.getFixed()
public boolean isForm()
isForm
in interface Element
Element.isForm()
public String getId()
Element
getId
in interface Element
Element.getId()
public int getMaxOccurs()
ElementGrouping
getMaxOccurs
in interface Element
getMaxOccurs
in interface ElementGrouping
Element.getMaxOccurs()
public int getMinOccurs()
ElementGrouping
getMinOccurs
in interface Element
getMinOccurs
in interface ElementGrouping
Element.getMinOccurs()
public String getName()
Element
getName
in interface Element
Element.getName()
public URI getNamespace()
getNamespace
in interface Element
Element.getNamespace()
public boolean isNillable()
Element
isNillable
in interface Element
Element.isNillable()
public Element getSubstitutionGroup()
Element
getSubstitutionGroup
in interface Element
Element.getSubstitutionGroup()
public Type getType()
Element
getType
in interface Element
Element.getType()
public int getGrouping()
ElementGrouping
getGrouping
in interface ElementGrouping
ElementGrouping.getGrouping()
public Element findChildElement(String name1)
ElementGrouping
findChildElement
in interface ElementGrouping
name1
- The Element LocalName (namespace and prefix should not be included)ElementGrouping.findChildElement(java.lang.String)
public Element findChildElement(String localName, URI namespaceURI)
findChildElement
in interface ElementGrouping
Copyright © 1996–2023 Geotools. All rights reserved.