public abstract class AttributesHolder extends DeclarationImpl
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Ref.AttGroup> |
attGroups
Ref.AttGroup s that are directly refered from this. |
protected java.util.Map<UName,AttributeUseImpl> |
attributes
Local attribute use.
|
protected java.util.Set<UName> |
prohibitedAtts
prohibited attributes.
|
ownerDocument
Modifier | Constructor and Description |
---|---|
protected |
AttributesHolder(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
org.xml.sax.Locator loc,
ForeignAttributesImpl _fa,
java.lang.String _name,
boolean _anonymous) |
Modifier and Type | Method and Description |
---|---|
void |
addAttGroup(Ref.AttGroup a) |
void |
addAttributeUse(UName name,
AttributeUseImpl a) |
void |
addProhibitedAttribute(UName name) |
java.util.Set<XSAttGroupDecl> |
getAttGroups() |
java.util.Collection<XSAttributeUse> |
getAttributeUses()
Returns the attribute uses by looking at attribute groups and etc.
|
XSAttributeUse |
getDeclaredAttributeUse(java.lang.String nsURI,
java.lang.String localName) |
java.util.Collection<AttributeUseImpl> |
getDeclaredAttributeUses() |
java.util.Iterator<XSAttGroupDecl> |
iterateAttGroups() |
java.util.Iterator<XSAttributeUse> |
iterateAttributeUses() |
java.util.Iterator<AttributeUseImpl> |
iterateDeclaredAttributeUses() |
abstract void |
setWildcard(WildcardImpl wc)
set the local wildcard.
|
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
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
protected final java.util.Map<UName,AttributeUseImpl> attributes
protected final java.util.Set<UName> prohibitedAtts
protected final java.util.Set<Ref.AttGroup> attGroups
Ref.AttGroup
s that are directly refered from this.protected AttributesHolder(SchemaDocumentImpl _parent, AnnotationImpl _annon, org.xml.sax.Locator loc, ForeignAttributesImpl _fa, java.lang.String _name, boolean _anonymous)
public abstract void setWildcard(WildcardImpl wc)
public void addAttributeUse(UName name, AttributeUseImpl a)
public void addProhibitedAttribute(UName name)
public java.util.Collection<XSAttributeUse> getAttributeUses()
ComplexTypeImpl
.public java.util.Iterator<XSAttributeUse> iterateAttributeUses()
public XSAttributeUse getDeclaredAttributeUse(java.lang.String nsURI, java.lang.String localName)
public java.util.Iterator<AttributeUseImpl> iterateDeclaredAttributeUses()
public java.util.Collection<AttributeUseImpl> getDeclaredAttributeUses()
public void addAttGroup(Ref.AttGroup a)
public java.util.Iterator<XSAttGroupDecl> iterateAttGroups()
public java.util.Set<XSAttGroupDecl> getAttGroups()