public class ElementImpl extends InstanceComponentImpl implements ElementInstance
Constructor and Description |
---|
ElementImpl(XSDElementDeclaration declaration) |
Modifier and Type | Method and Description |
---|---|
AttributeInstance[] |
getAttributes() |
XSDNamedComponent |
getDeclaration() |
XSDElementDeclaration |
getElementDeclaration() |
XSDTypeDefinition |
getTypeDefinition() |
void |
setAttributes(AttributeInstance[] atts)
Sets the attributes of the element.
|
String |
toString()
By default indicate the elements name
|
addText, addText, getName, getNamespace, getText, setName, setNamespace, setText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getNamespace, getText, setName, setNamespace, setText
public XSDTypeDefinition getTypeDefinition()
getTypeDefinition
in interface InstanceComponent
public XSDNamedComponent getDeclaration()
getDeclaration
in interface InstanceComponent
getDeclaration
in class InstanceComponentImpl
public XSDElementDeclaration getElementDeclaration()
getElementDeclaration
in interface ElementInstance
public AttributeInstance[] getAttributes()
getAttributes
in interface ElementInstance
public void setAttributes(AttributeInstance[] atts)
ElementInstance
setAttributes
in interface ElementInstance
atts
- The new attributes.public String toString()
InstanceComponentImpl
toString
in class InstanceComponentImpl
Copyright © 1996–2019 Geotools. All rights reserved.