Package org.geotools.xsd.impl
Class AttributeImpl
- Object
-
- InstanceComponentImpl
-
- AttributeImpl
-
- All Implemented Interfaces:
AttributeInstance
,InstanceComponent
public class AttributeImpl extends InstanceComponentImpl implements AttributeInstance
-
-
Constructor Summary
Constructors Constructor Description AttributeImpl(XSDAttributeDeclaration decl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XSDAttributeDeclaration
getAttributeDeclaration()
XSDNamedComponent
getDeclaration()
XSDTypeDefinition
getTypeDefinition()
-
Methods inherited from class InstanceComponentImpl
addText, addText, getName, getNamespace, getText, setName, setNamespace, setText, toString
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface InstanceComponent
getName, getNamespace, getText, setName, setNamespace, setText
-
-
-
-
Method Detail
-
getTypeDefinition
public XSDTypeDefinition getTypeDefinition()
- Specified by:
getTypeDefinition
in interfaceInstanceComponent
- Returns:
- The object containing the type definiton of the instance.
-
getAttributeDeclaration
public XSDAttributeDeclaration getAttributeDeclaration()
- Specified by:
getAttributeDeclaration
in interfaceAttributeInstance
- Returns:
- The declaration of the element from its schema.
-
getDeclaration
public XSDNamedComponent getDeclaration()
- Specified by:
getDeclaration
in interfaceInstanceComponent
- Overrides:
getDeclaration
in classInstanceComponentImpl
- Returns:
- The feature describing the component instance.
-
-