|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.xs.impl.XSObjectImpl net.sf.jaxme.xs.impl.XSAttributeImpl
Constructor Summary | |
protected |
XSAttributeImpl(XSObject pParent,
XsTAttribute pBaseAttribute)
|
Method Summary | |
XSAnnotation[] |
getAnnotations()
Returns the attributes set of annotations. |
XsQName |
getName()
Returns the attributes name. |
XSType |
getType()
Returns the attributes type. |
protected XsTAttribute |
getXsTAttribute()
|
boolean |
isGlobal()
Returns whether the attribute is global. |
protected boolean |
isInnerSimpleType()
|
boolean |
isOptional()
Returns whether the attribute is optional. |
protected boolean |
isReference()
|
protected boolean |
isValidated()
|
void |
setGlobal(boolean pGlobal)
Sets whether the attribute is global. |
void |
validate()
Validates the objects internal state. |
Methods inherited from class net.sf.jaxme.xs.impl.XSObjectImpl |
getLocator, getParentObject, getXsObject, getXSSchema, isTopLevelObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jaxme.xs.XSObject |
getLocator, getParentObject, getXSSchema, isTopLevelObject |
Constructor Detail |
protected XSAttributeImpl(XSObject pParent, XsTAttribute pBaseAttribute) throws org.xml.sax.SAXException
Method Detail |
protected XsTAttribute getXsTAttribute()
protected boolean isReference()
protected boolean isInnerSimpleType()
public boolean isGlobal()
XSAttribute
Returns whether the attribute is global.
isGlobal
in interface XSAttribute
public void setGlobal(boolean pGlobal)
XSAttribute
Sets whether the attribute is global.
setGlobal
in interface XSAttribute
public XsQName getName()
XSAttribute
Returns the attributes name. Note, that an attribute always has a name, unlike types.
getName
in interface XSAttribute
public XSType getType()
XSAttribute
Returns the attributes type.
getType
in interface XSAttribute
public XSAnnotation[] getAnnotations()
XSAttribute
Returns the attributes set of annotations.
getAnnotations
in interface XSAttribute
protected boolean isValidated()
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
validate
in interface XSObject
validate
in class XSObjectImpl
org.xml.sax.SAXException
public boolean isOptional()
XSAttribute
Returns whether the attribute is optional.
isOptional
in interface XSAttribute
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |