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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
public AttributeUseImpl(SchemaDocumentImpl owner, AnnotationImpl ann, Locator loc, ForeignAttributesImpl fa, Ref.Attribute _decl, XmlString def, XmlString fixed, boolean req)
public XSAttributeDecl getDecl()
getDecl
in interface XSAttributeUse
public XmlString getDefaultValue()
XSAttributeUse
getDefaultValue
in interface XSAttributeUse
public XmlString getFixedValue()
XSAttributeUse
getFixedValue
in interface XSAttributeUse
public boolean isRequired()
isRequired
in interface XSAttributeUse
public Object apply(XSFunction f)
XSComponent
apply
in interface XSComponent
public void visit(XSVisitor v)
XSComponent
visit
in interface XSComponent
Copyright © 2021 JBoss by Red Hat. All rights reserved.