public class AttributeDeclImpl extends DeclarationImpl implements XSAttributeDecl, Ref.Attribute
| Modifier and Type | Field and Description |
|---|---|
private XmlString |
defaultValue |
private XmlString |
fixedValue |
private Ref.SimpleType |
type |
ownerDocument| Constructor and Description |
|---|
AttributeDeclImpl(SchemaDocumentImpl owner,
java.lang.String _targetNamespace,
java.lang.String _name,
AnnotationImpl _annon,
org.xml.sax.Locator _loc,
ForeignAttributesImpl _fa,
boolean _anonymous,
XmlString _defValue,
XmlString _fixedValue,
Ref.SimpleType _type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(XSFunction function)
Accepts a functor.
|
XSAttributeDecl |
getAttribute() |
XmlString |
getDefaultValue() |
XmlString |
getFixedValue() |
XSSimpleType |
getType() |
void |
visit(XSVisitor visitor)
Accepts a visitor.
|
getName, getTargetNamespace, isAnonymous, isGlobal, isLocalgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getTargetNamespace, isAnonymous, isGlobal, isLocalgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingleprivate final Ref.SimpleType type
private final XmlString defaultValue
private final XmlString fixedValue
public AttributeDeclImpl(SchemaDocumentImpl owner, java.lang.String _targetNamespace, java.lang.String _name, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, boolean _anonymous, XmlString _defValue, XmlString _fixedValue, Ref.SimpleType _type)
public XSSimpleType getType()
getType in interface XSAttributeDeclpublic XmlString getDefaultValue()
getDefaultValue in interface XSAttributeDeclpublic XmlString getFixedValue()
getFixedValue in interface XSAttributeDeclpublic void visit(XSVisitor visitor)
XSComponentvisit in interface XSComponentpublic java.lang.Object apply(XSFunction function)
XSComponentapply in interface XSComponentpublic XSAttributeDecl getAttribute()
getAttribute in interface Ref.Attribute