com.sun.xml.xsom.impl
Class AttributeUseImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.AttributeUseImpl
- All Implemented Interfaces:
- XSAttributeUse, XSComponent
public class AttributeUseImpl
- extends ComponentImpl
- implements XSAttributeUse
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
AttributeUseImpl
public AttributeUseImpl(SchemaDocumentImpl owner,
AnnotationImpl ann,
Locator loc,
ForeignAttributesImpl fa,
Ref.Attribute _decl,
XmlString def,
XmlString fixed,
boolean req)
getDecl
public XSAttributeDecl getDecl()
- Specified by:
getDecl
in interface XSAttributeUse
getDefaultValue
public XmlString getDefaultValue()
- Description copied from interface:
XSAttributeUse
- 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.
- Specified by:
getDefaultValue
in interface XSAttributeUse
getFixedValue
public XmlString getFixedValue()
- Description copied from interface:
XSAttributeUse
- 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.
- Specified by:
getFixedValue
in interface XSAttributeUse
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interface XSAttributeUse
apply
public Object apply(XSFunction f)
- Description copied from interface:
XSComponent
- Accepts a functor.
- Specified by:
apply
in interface XSComponent
visit
public void visit(XSVisitor v)
- Description copied from interface:
XSComponent
- Accepts a visitor.
- Specified by:
visit
in interface XSComponent
Copyright © 2012 Oracle. All Rights Reserved.