public interface XSAttribute extends XSOpenAttrs, XSAttributable
Interface of a schema attribute.
Modifier and Type | Method and Description |
---|---|
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.
|
getOpenAttributes
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate
boolean isGlobal()
Returns whether the attribute is global.
XsQName getName()
Returns the attributes name. Note, that an attribute always has a name, unlike types.
XSType getType()
Returns the attributes type.
boolean isOptional()
Returns whether the attribute is optional.
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.