Package org.geotools.xsd.impl
Class ElementImpl
Object
InstanceComponentImpl
ElementImpl
- All Implemented Interfaces:
ElementInstance,InstanceComponent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionXSDNamedComponentXSDElementDeclarationXSDTypeDefinitionvoidsetAttributes(AttributeInstance[] atts) Sets the attributes of the element.toString()By default indicate the elements nameMethods inherited from class InstanceComponentImpl
addText, addText, getName, getNamespace, getText, setName, setNamespace, setTextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface InstanceComponent
getName, getNamespace, getText, setName, setNamespace, setText
-
Constructor Details
-
ElementImpl
public ElementImpl(XSDElementDeclaration declaration)
-
-
Method Details
-
getTypeDefinition
public XSDTypeDefinition getTypeDefinition()- Specified by:
getTypeDefinitionin interfaceInstanceComponent- Returns:
- The object containing the type definiton of the instance.
-
getDeclaration
public XSDNamedComponent getDeclaration()- Specified by:
getDeclarationin interfaceInstanceComponent- Overrides:
getDeclarationin classInstanceComponentImpl- Returns:
- The feature describing the component instance.
-
getElementDeclaration
public XSDElementDeclaration getElementDeclaration()- Specified by:
getElementDeclarationin interfaceElementInstance- Returns:
- The declaration of the element in the schema.
-
getAttributes
- Specified by:
getAttributesin interfaceElementInstance- Returns:
- The attributes of the element.
-
setAttributes
Description copied from interface:ElementInstanceSets the attributes of the element.- Specified by:
setAttributesin interfaceElementInstance- Parameters:
atts- The new attributes.
-
toString
Description copied from class:InstanceComponentImplBy default indicate the elements name- Overrides:
toStringin classInstanceComponentImpl
-