Class AttributeDeclImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.DeclarationImpl
com.sun.xml.xsom.impl.AttributeDeclImpl
- All Implemented Interfaces:
Ref.Attribute, XSAttributeDecl, XSComponent, XSDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XmlStringprivate final XmlStringprivate final Ref.SimpleTypeFields inherited from class ComponentImpl
ownerDocument -
Constructor Summary
ConstructorsConstructorDescriptionAttributeDeclImpl(SchemaDocumentImpl owner, String _targetNamespace, String _name, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, boolean _anonymous, XmlString _defValue, XmlString _fixedValue, Ref.SimpleType _type) -
Method Summary
Modifier and TypeMethodDescriptionapply(XSFunction function) Accepts a functor.getType()voidAccepts a visitor.Methods inherited from class DeclarationImpl
getName, getTargetNamespace, isAnonymous, isGlobal, isLocalMethods inherited from class ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingleMethods inherited from interface XSDeclaration
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
-
Field Details
-
type
-
defaultValue
-
fixedValue
-
-
Constructor Details
-
AttributeDeclImpl
public AttributeDeclImpl(SchemaDocumentImpl owner, String _targetNamespace, String _name, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, boolean _anonymous, XmlString _defValue, XmlString _fixedValue, Ref.SimpleType _type)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceXSAttributeDecl
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceXSAttributeDecl
-
getFixedValue
- Specified by:
getFixedValuein interfaceXSAttributeDecl
-
visit
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
apply
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-
getAttribute
- Specified by:
getAttributein interfaceRef.Attribute
-