Package com.sun.xml.xsom
Interface XSAttributeUse
- All Superinterfaces:
XSComponent
- All Known Implementing Classes:
AttributeUseImpl
Attribute use.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptiongetDecl()
Gets the default value of this attribute use, if one is specified.Gets the fixed value of this attribute use, if one is specified.boolean
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
-
Method Details
-
isRequired
boolean isRequired() -
getDecl
XSAttributeDecl getDecl() -
getDefaultValue
XmlString getDefaultValue()Gets the default value of this attribute use, if one is specified. Note that if a default value is specified in the attribute declaration, this method returns that value. -
getFixedValue
XmlString getFixedValue()Gets the fixed value of this attribute use, if one is specified. Note that if a fixed value is specified in the attribute declaration, this method returns that value.
-