org.apache.ws.jaxme.xs
Interface XSAttribute
- XSAttributable, XSObject, XSOpenAttrs
- JAXBAttribute
- JAXBAttributeImpl, XSAttributeImpl
public interface XSAttribute
Interface of a schema attribute.
XSAnnotation[] | getAnnotations() - Returns the attributes set of annotations.
|
String | getDefault() - Returns the attributes "default" value or null, if no such
attribute is set.
|
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.
|
getAnnotations
public XSAnnotation[] getAnnotations()
Returns the attributes set of annotations.
getDefault
public String getDefault()
Returns the attributes "default" value or null, if no such
attribute is set.
getFixed
public String getFixed()
Returns the attributes "fixed" value or null, if no such
attribute is set.
getName
public XsQName getName()
Returns the attributes name. Note, that an attribute
always has a name, unlike types.
getType
public XSType getType()
Returns the attributes type.
isGlobal
public boolean isGlobal()
Returns whether the attribute is global.
isOptional
public boolean isOptional()
Returns whether the attribute is optional.