Package com.sun.xml.xsom.impl
Class AttGroupDeclImpl
- java.lang.Object
-
- com.sun.xml.xsom.impl.ComponentImpl
-
- com.sun.xml.xsom.impl.DeclarationImpl
-
- com.sun.xml.xsom.impl.AttributesHolder
-
- com.sun.xml.xsom.impl.AttGroupDeclImpl
-
- All Implemented Interfaces:
XSAttContainer
,XSAttGroupDecl
,XSComponent
,XSDeclaration
public class AttGroupDeclImpl extends AttributesHolder implements XSAttGroupDecl
-
-
Field Summary
Fields Modifier and Type Field Description private WildcardImpl
wildcard
-
Fields inherited from class com.sun.xml.xsom.impl.AttributesHolder
attGroups, attributes, prohibitedAtts
-
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl
ownerDocument
-
-
Constructor Summary
Constructors Constructor Description AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name)
AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name, WildcardImpl _wildcard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
apply(XSFunction function)
Accepts a functor.XSAttributeUse
getAttributeUse(java.lang.String nsURI, java.lang.String localName)
Looks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component.XSWildcard
getAttributeWildcard()
void
redefine(AttGroupDeclImpl ag)
void
setWildcard(WildcardImpl wc)
set the local wildcard.void
visit(XSVisitor visitor)
Accepts a visitor.-
Methods inherited from class com.sun.xml.xsom.impl.AttributesHolder
addAttGroup, addAttributeUse, addProhibitedAttribute, getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUses
-
Methods inherited from class com.sun.xml.xsom.impl.DeclarationImpl
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
-
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.xml.xsom.XSAttContainer
getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUses
-
Methods inherited from interface com.sun.xml.xsom.XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
-
Methods inherited from interface com.sun.xml.xsom.XSDeclaration
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
-
-
-
-
Field Detail
-
wildcard
private WildcardImpl wildcard
-
-
Constructor Detail
-
AttGroupDeclImpl
public AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name, WildcardImpl _wildcard)
-
AttGroupDeclImpl
public AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name)
-
-
Method Detail
-
setWildcard
public void setWildcard(WildcardImpl wc)
Description copied from class:AttributesHolder
set the local wildcard.- Specified by:
setWildcard
in classAttributesHolder
-
getAttributeWildcard
public XSWildcard getAttributeWildcard()
- Specified by:
getAttributeWildcard
in interfaceXSAttContainer
-
getAttributeUse
public XSAttributeUse getAttributeUse(java.lang.String nsURI, java.lang.String localName)
Description copied from interface:XSAttContainer
Looks 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:
getAttributeUse
in interfaceXSAttContainer
-
redefine
public void redefine(AttGroupDeclImpl ag)
-
visit
public void visit(XSVisitor visitor)
Description copied from interface:XSComponent
Accepts a visitor.- Specified by:
visit
in interfaceXSComponent
-
apply
public java.lang.Object apply(XSFunction function)
Description copied from interface:XSComponent
Accepts a functor.- Specified by:
apply
in interfaceXSComponent
-
-