org.apache.ws.jaxme.xs
Interface XSAttribute

All Superinterfaces:
XSAttributable, XSObject, XSOpenAttrs
All Known Subinterfaces:
JAXBAttribute
All Known Implementing Classes:
JAXBAttributeImpl, XSAttributeImpl

public interface XSAttribute
extends XSOpenAttrs, XSAttributable

Interface of a schema attribute.

Author:
Jochen Wiedmann

Method Summary
 XSAnnotation[] getAnnotations()
          Returns the attributes set of annotations.
 java.lang.String getDefault()
          Returns the attributes "default" value or null, if no such attribute is set.
 java.lang.String getFixed()
          Returns the attributes "fixed" value or null, if no such attribute is set.
 XsQName getName()
          Returns the attributes name.
 XSType getType()
          Returns the attributes type.
 boolean isGlobal()
          Returns whether the attribute is global.
 boolean isOptional()
          Returns whether the attribute is optional.
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
 

Method Detail

isGlobal

boolean isGlobal()

Returns whether the attribute is global.


getName

XsQName getName()

Returns the attributes name. Note, that an attribute always has a name, unlike types.


getType

XSType getType()

Returns the attributes type.


isOptional

boolean isOptional()

Returns whether the attribute is optional.


getAnnotations

XSAnnotation[] getAnnotations()

Returns the attributes set of annotations.


getDefault

java.lang.String getDefault()

Returns the attributes "default" value or null, if no such attribute is set.


getFixed

java.lang.String getFixed()

Returns the attributes "fixed" value or null, if no such attribute is set.