XSAttributeUse, XSComponentpublic class AttributeUseImpl extends ComponentImpl implements XSAttributeUse
ownerDocument| Constructor | Description |
|---|---|
AttributeUseImpl(SchemaDocumentImpl owner,
AnnotationImpl ann,
org.xml.sax.Locator loc,
ForeignAttributesImpl fa,
Ref.Attribute _decl,
XmlString def,
XmlString fixed,
boolean req) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.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, org.xml.sax.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 java.lang.Object apply(XSFunction f)
XSComponentapply in interface XSComponentpublic void visit(XSVisitor v)
XSComponentvisit in interface XSComponentCopyright © 2018 Oracle. All rights reserved.