public abstract class AttributesHolder extends ComponentImpl
| Modifier and Type | Field and Description |
|---|---|
protected Set<Ref.AttGroup> |
attGroups
Ref.AttGroups 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) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttGroup(Ref.AttGroup a) |
void |
addAttributeUse(UName name,
AttributeUseImpl a) |
void |
addProhibitedAttribute(UName name) |
Set<XSAttGroupDecl> |
getAttGroups() |
Collection<XSAttributeUse> |
getAttributeUses()
Returns the attribute uses by looking at attribute groups and etc.
|
XSAttributeUse |
getDeclaredAttributeUse(String nsURI,
String localName) |
Collection<AttributeUseImpl> |
getDeclaredAttributeUses() |
String |
getName()
Gets the (local) name of the declaration.
|
String |
getTargetNamespace()
Target namespace to which this component belongs.
|
boolean |
isAnonymous()
Deprecated.
|
boolean |
isGlobal()
Returns true if this declaration is a global declaration.
|
boolean |
isLocal()
Returns true if this declaration is a local declaration.
|
Iterator<XSAttGroupDecl> |
iterateAttGroups() |
Iterator<XSAttributeUse> |
iterateAttributeUses() |
Iterator<AttributeUseImpl> |
iterateDeclaredAttributeUses() |
abstract void |
setWildcard(WildcardImpl wc)
set the local wildcard.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visitprotected final Map<UName,AttributeUseImpl> attributes
protected final Set<Ref.AttGroup> attGroups
Ref.AttGroups 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()
XSDeclarationgetName in interface XSDeclarationpublic String getTargetNamespace()
XSDeclaration"" is used to represent the default no namespace.getTargetNamespace in interface XSDeclarationpublic boolean isAnonymous()
isAnonymous in interface XSDeclarationpublic final boolean isGlobal()
XSDeclarationisGlobal in interface XSDeclarationpublic final boolean isLocal()
XSDeclaration!isGlobal()isLocal in interface XSDeclarationCopyright © 2015 Oracle Corporation. All Rights Reserved.