Class AttGroupDeclImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.AttributesHolder
com.sun.xml.xsom.impl.AttGroupDeclImpl
- All Implemented Interfaces:
XSAttContainer, XSAttGroupDecl, XSComponent, XSDeclaration
-
Field Summary
Fields inherited from class AttributesHolder
attGroups, attributes, prohibitedAttsFields inherited from class ComponentImpl
ownerDocument -
Constructor Summary
ConstructorsConstructorDescriptionAttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name) AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, WildcardImpl _wildcard) -
Method Summary
Modifier and TypeMethodDescriptionapply(XSFunction function) Accepts a functor.getAttributeUse(String nsURI, String localName) Looks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component.getName()Gets the (local) name of the declaration.Target namespace to which this component belongs.booleanDeprecated.final booleanisGlobal()Returns true if this declaration is a global declaration.final booleanisLocal()Returns true if this declaration is a local declaration.voidvoidset the local wildcard.voidAccepts a visitor.Methods inherited from class AttributesHolder
addAttGroup, addAttributeUse, addProhibitedAttribute, getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUsesMethods 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 XSAttContainer
getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUsesMethods inherited from interface XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingleMethods inherited from interface XSDeclaration
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
-
Constructor Details
-
AttGroupDeclImpl
public AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, WildcardImpl _wildcard) -
AttGroupDeclImpl
public AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name)
-
-
Method Details
-
setWildcard
Description copied from class:AttributesHolderset the local wildcard.- Specified by:
setWildcardin classAttributesHolder
-
getAttributeWildcard
- Specified by:
getAttributeWildcardin interfaceXSAttContainer
-
getAttributeUse
Description copied from interface:XSAttContainerLooks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component.This is the exact implementation of the "attribute use" schema component.
- Specified by:
getAttributeUsein interfaceXSAttContainer
-
redefine
-
visit
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
apply
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-
getName
Description copied from interface:XSDeclarationGets the (local) name of the declaration.- Specified by:
getNamein interfaceXSDeclaration- Returns:
- null if this component is anonymous.
-
getTargetNamespace
Description copied from interface:XSDeclarationTarget namespace to which this component belongs.""is used to represent the default no namespace.- Specified by:
getTargetNamespacein interfaceXSDeclaration
-
isAnonymous
-
isGlobal
public final boolean isGlobal()Description copied from interface:XSDeclarationReturns true if this declaration is a global declaration. Global declarations are those declaration that can be enumerated through the schema object.- Specified by:
isGlobalin interfaceXSDeclaration
-
isLocal
public final boolean isLocal()Description copied from interface:XSDeclarationReturns true if this declaration is a local declaration. Equivalent of!isGlobal()- Specified by:
isLocalin interfaceXSDeclaration
-