org.geotools.xml
Interface ElementInstance

All Superinterfaces:
InstanceComponent
All Known Implementing Classes:
ElementImpl

public interface ElementInstance
extends InstanceComponent

Represents an element in an instance document.

Author:
Justin Deoliveira,Refractions Research Inc.,jdeolive@refractions.net
Module:
modules/extension/xsd-core (gt-xsd-core.jar)

Method Summary
 AttributeInstance[] getAttributes()
           
 XSDElementDeclaration getElementDeclaration()
           
 void setAttributes(AttributeInstance[] atts)
          Sets the attributes of the element.
 
Methods inherited from interface InstanceComponent
getDeclaration, getName, getNamespace, getText, getTypeDefinition, setName, setNamespace, setText
 

Method Detail

getElementDeclaration

XSDElementDeclaration getElementDeclaration()
Returns:
The declaration of the element in the schema.

getAttributes

AttributeInstance[] getAttributes()
Returns:
The attributes of the element.

setAttributes

void setAttributes(AttributeInstance[] atts)
Sets the attributes of the element.

Parameters:
atts - The new attributes.


Copyright © 1996-2009 Geotools. All Rights Reserved.