net.sf.jaxme.xs
Interface XSElement

All Superinterfaces:
XSObject
All Known Subinterfaces:
JAXBElement
All Known Implementing Classes:
JAXBElementImpl, XSElementImpl

public interface XSElement
extends XSObject

Interface of a schema element

Author:
Jochen Wiedmann

Method Summary
 XSAnnotation[] getAnnotations()
          Returns the array of annotations.
 XsQName getName()
          Returns the elements name.
 XSType getType()
          Returns the elements type.
 boolean isGlobal()
          Returns whether the element is global or not.
 void setGlobal(boolean pGlobal)
          Sets whether the element is global or not.
 
Methods inherited from interface net.sf.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
 

Method Detail

getAnnotations

public XSAnnotation[] getAnnotations()

Returns the array of annotations.


isGlobal

public boolean isGlobal()

Returns whether the element is global or not.


setGlobal

public void setGlobal(boolean pGlobal)

Sets whether the element is global or not.


getName

public XsQName getName()

Returns the elements name. Note that, unlike types, an element always has a name.


getType

public XSType getType()

Returns the elements type.