com.sun.xml.xsom
Interface XSAttributeUse

All Superinterfaces:
XSComponent

public interface XSAttributeUse
extends XSComponent

Attribute use.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Method Summary
 XSAttributeDecl getDecl()
           
 XmlString getDefaultValue()
          Gets the default value of this attribute use, if one is specified.
 XmlString getFixedValue()
          Gets the fixed value of this attribute use, if one is specified.
 boolean isRequired()
           
 
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
 

Method Detail

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.