|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.AttributesHolder
public abstract class AttributesHolder
| Field Summary | |
|---|---|
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. |
| Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl |
|---|
ownerDocument |
| Constructor Summary | |
|---|---|
protected |
AttributesHolder(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
org.xml.sax.Locator loc,
ForeignAttributesImpl _fa,
java.lang.String _name,
boolean _anonymous)
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
|---|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.xml.xsom.XSComponent |
|---|
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit |
| Field Detail |
|---|
protected 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.
| Constructor Detail |
|---|
protected AttributesHolder(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
org.xml.sax.Locator loc,
ForeignAttributesImpl _fa,
java.lang.String _name,
boolean _anonymous)
| Method Detail |
|---|
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()
XSDeclaration
getName 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()
XSDeclaration
isGlobal in interface XSDeclarationpublic final boolean isLocal()
XSDeclaration!isGlobal()
isLocal in interface XSDeclaration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||