public class AttributeUseImpl extends ComponentImpl implements XSAttributeUse
ownerDocument| Constructor and Description |
|---|
AttributeUseImpl(SchemaDocumentImpl owner,
AnnotationImpl ann,
Locator loc,
ForeignAttributesImpl fa,
Ref.Attribute _decl,
XmlString def,
XmlString fixed,
boolean req) |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(XSFunction f)
Accepts a functor.
|
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() |
void |
visit(XSVisitor v)
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSinglepublic AttributeUseImpl(SchemaDocumentImpl owner, AnnotationImpl ann, Locator loc, ForeignAttributesImpl fa, Ref.Attribute _decl, XmlString def, XmlString fixed, boolean req)
public XSAttributeDecl getDecl()
getDecl in interface XSAttributeUsepublic XmlString getDefaultValue()
XSAttributeUsegetDefaultValue in interface XSAttributeUsepublic XmlString getFixedValue()
XSAttributeUsegetFixedValue in interface XSAttributeUsepublic boolean isRequired()
isRequired in interface XSAttributeUsepublic Object apply(XSFunction f)
XSComponentapply in interface XSComponentpublic void visit(XSVisitor v)
XSComponentvisit in interface XSComponentCopyright © 2005–2017 Oracle Corporation. All rights reserved.