XSComponent, XSDeclarationAttGroupDeclImpl, ComplexTypeImplpublic abstract class AttributesHolder extends ComponentImpl
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Set<Ref.AttGroup> |
attGroups |
Ref.AttGroups 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 | Description |
|---|---|---|
protected |
AttributesHolder(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
org.xml.sax.Locator loc,
ForeignAttributesImpl _fa,
java.lang.String _name,
boolean _anonymous) |
| Modifier and Type | Method | 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.lang.String |
getName() |
Gets the (local) name of the declaration.
|
java.lang.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.
|
java.util.Iterator<XSAttGroupDecl> |
iterateAttGroups() |
|
java.util.Iterator<XSAttributeUse> |
iterateAttributeUses() |
|
java.util.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 java.util.Map<UName,AttributeUseImpl> attributes
protected final java.util.Set<UName> prohibitedAtts
protected final java.util.Set<Ref.AttGroup> attGroups
Ref.AttGroups 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()
public java.lang.String getName()
XSDeclarationgetName in interface XSDeclarationpublic java.lang.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 © 2017 Oracle Corporation. All rights reserved.