Package org.geotools.xml.schema
Interface Element
- 
- All Superinterfaces:
- ElementGrouping
 - All Known Implementing Classes:
- ElementGT,- FilterSchema.FilterElement,- ogcElement,- sldElement
 
 public interface Element extends ElementGrouping Instances of this interface are intended to represent XML Schema Elements.- Author:
- dzwiers www.refractions.net
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBlock()StringgetDefault()This returns the default value for the Element as a StringintgetFinal()StringgetFixed()This returns the fixed value for the Element as a StringStringgetId()The Schema ID for this element definition.intgetMaxOccurs()returns the max number of allowable occurences within the xml schema for this construct.intgetMinOccurs()returns the min number of allowable occurences within the xml schema for this construct.StringgetName()Returns the element declaration's name in the Schema document, and element name in the instance document.URIgetNamespace()ElementgetSubstitutionGroup()This returns a reference to an element representing this element's substitution group.TypegetType()Returns the declared type for this Element in the given Schema.booleanisAbstract()Returns True when the instance of this XML Schema Element is abstract, false otherwisebooleanisForm()booleanisNillable()Returns true when the element is nillable, false otherwise- 
Methods inherited from interface ElementGroupingfindChildElement, findChildElement, getGrouping
 
- 
 
- 
- 
- 
Method Detail- 
isAbstractboolean isAbstract() Returns True when the instance of this XML Schema Element is abstract, false otherwise
 - 
getBlockint getBlock() - See Also:
- Schema.getBlockDefault()
 
 - 
getDefaultString getDefault() This returns the default value for the Element as a String
 - 
getFinalint getFinal() - See Also:
- Schema.getFinalDefault()
 
 - 
getFixedString getFixed() This returns the fixed value for the Element as a String
 - 
isFormboolean isForm() - See Also:
- Schema.isElementFormDefault()
 
 - 
getIdString getId() The Schema ID for this element definition.
 - 
getMaxOccursint getMaxOccurs() Description copied from interface:ElementGroupingreturns the max number of allowable occurences within the xml schema for this construct.- Specified by:
- getMaxOccursin interface- ElementGrouping
- See Also:
- org.geotools.xml.xsi.ElementGrouping#getMaxOccurs()
 
 - 
getMinOccursint getMinOccurs() Description copied from interface:ElementGroupingreturns the min number of allowable occurences within the xml schema for this construct.- Specified by:
- getMinOccursin interface- ElementGrouping
- See Also:
- org.geotools.xml.xsi.ElementGrouping#getMinOccurs()
 
 - 
getNameString getName() Returns the element declaration's name in the Schema document, and element name in the instance document.
 - 
getNamespaceURI getNamespace() 
 - 
isNillableboolean isNillable() Returns true when the element is nillable, false otherwise
 - 
getSubstitutionGroupElement getSubstitutionGroup() 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.
 
- 
 
-