public abstract class AttributesHolder extends ComponentImpl
Modifier and Type | Field and Description |
---|---|
protected Set<Ref.AttGroup> |
attGroups
Ref.AttGroup s that are directly refered from this. |
protected Map<UName,AttributeUseImpl> |
attributes
Local attribute use.
|
protected Set<UName> |
prohibitedAtts
prohibited attributes.
|
ownerDocument
Modifier | Constructor and Description |
---|---|
protected |
AttributesHolder(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator loc,
ForeignAttributesImpl _fa,
String _name,
boolean _anonymous) |
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 Map<UName,AttributeUseImpl> attributes
protected final Set<Ref.AttGroup> attGroups
Ref.AttGroup
s that are directly refered from this.protected AttributesHolder(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator loc, ForeignAttributesImpl _fa, String _name, boolean _anonymous)
public abstract void setWildcard(WildcardImpl wc)
public void addAttributeUse(UName name, AttributeUseImpl a)
public void addProhibitedAttribute(UName name)
public Collection<XSAttributeUse> getAttributeUses()
ComplexTypeImpl
.public Iterator<XSAttributeUse> iterateAttributeUses()
public XSAttributeUse getDeclaredAttributeUse(String nsURI, String localName)
public Iterator<AttributeUseImpl> iterateDeclaredAttributeUses()
public Collection<AttributeUseImpl> getDeclaredAttributeUses()
public void addAttGroup(Ref.AttGroup a)
public Iterator<XSAttGroupDecl> iterateAttGroups()
public Set<XSAttGroupDecl> getAttGroups()
public String getName()
XSDeclaration
getName
in interface XSDeclaration
public String getTargetNamespace()
XSDeclaration
""
is used to represent the default no namespace.getTargetNamespace
in interface XSDeclaration
public boolean isAnonymous()
isAnonymous
in interface XSDeclaration
public final boolean isGlobal()
XSDeclaration
isGlobal
in interface XSDeclaration
public final boolean isLocal()
XSDeclaration
!isGlobal()
isLocal
in interface XSDeclaration
Copyright © 2021 JBoss by Red Hat. All rights reserved.