public class AttGroupDeclImpl extends AttributesHolder implements XSAttGroupDecl
Modifier and Type | Field and Description |
---|---|
private WildcardImpl |
wildcard |
attGroups, attributes, prohibitedAtts
ownerDocument
Constructor and 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) |
Modifier and Type | Method and 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.
|
addAttGroup, addAttributeUse, addProhibitedAttribute, getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUses
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUses
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
private WildcardImpl wildcard
public AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name, WildcardImpl _wildcard)
public AttGroupDeclImpl(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator _loc, ForeignAttributesImpl _fa, java.lang.String _name)
public void setWildcard(WildcardImpl wc)
AttributesHolder
setWildcard
in class AttributesHolder
public XSWildcard getAttributeWildcard()
getAttributeWildcard
in interface XSAttContainer
public XSAttributeUse getAttributeUse(java.lang.String nsURI, java.lang.String localName)
XSAttContainer
This is the exact implementation of the "attribute use" schema component.
getAttributeUse
in interface XSAttContainer
public void redefine(AttGroupDeclImpl ag)
public void visit(XSVisitor visitor)
XSComponent
visit
in interface XSComponent
public java.lang.Object apply(XSFunction function)
XSComponent
apply
in interface XSComponent