org.apache.ws.jaxme.xs.impl

Class XSAttributeImpl

Implemented Interfaces:
XSAttributable, XSAttribute, XSObject, XSOpenAttrs
Known Direct Subclasses:
JAXBAttributeImpl

public class XSAttributeImpl
extends XSOpenAttrsImpl
implements XSAttribute

Author:
Jochen Wiedmann

Constructor Summary

XSAttributeImpl(XSObject pParent, XsTAttribute pBaseAttribute)

Method Summary

XSAnnotation[]
getAnnotations()
String
getDefault()
String
getFixed()
XsQName
getName()
XSType
getType()
protected XsTAttribute
getXsTAttribute()
boolean
isGlobal()
protected boolean
isInnerSimpleType()
boolean
isOptional()
protected boolean
isReference()
protected boolean
isValidated()
void
validate()

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSOpenAttrsImpl

getOpenAttributes

Methods inherited from class org.apache.ws.jaxme.xs.impl.XSObjectImpl

getLocator, getParentObject, getXSSchema, getXsObject, isTopLevelObject, validate, validateAllIn

Constructor Details

XSAttributeImpl

protected XSAttributeImpl(XSObject pParent,
                          XsTAttribute pBaseAttribute)
            throws SAXException

Method Details

getAnnotations

public XSAnnotation[] getAnnotations()
Specified by:
getAnnotations in interface XSAttribute

getDefault

public String getDefault()
Specified by:
getDefault in interface XSAttribute

getFixed

public String getFixed()
Specified by:
getFixed in interface XSAttribute

getName

public XsQName getName()
Specified by:
getName in interface XSAttribute

getType

public XSType getType()
Specified by:
getType in interface XSAttribute

getXsTAttribute

protected XsTAttribute getXsTAttribute()

isGlobal

public boolean isGlobal()
Specified by:
isGlobal in interface XSAttribute

isInnerSimpleType

protected boolean isInnerSimpleType()

isOptional

public boolean isOptional()
Specified by:
isOptional in interface XSAttribute

isReference

protected boolean isReference()

isValidated

protected boolean isValidated()

validate

public void validate()
            throws SAXException
Specified by:
validate in interface XSObject
Overrides:
validate in interface XSObjectImpl