|
||||||||||
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 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. |
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl |
---|
ownerDocument |
Constructor Summary | |
---|---|
protected |
AttributesHolder(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator loc,
ForeignAttributesImpl _fa,
String _name,
boolean _anonymous)
|
Method Summary | |
---|---|
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. |
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 Map<UName,AttributeUseImpl> attributes
protected final Set<UName> prohibitedAtts
protected final Set<Ref.AttGroup> attGroups
Ref.AttGroup
s that are directly refered from this.
Constructor Detail |
---|
protected AttributesHolder(SchemaDocumentImpl _parent, AnnotationImpl _annon, Locator loc, ForeignAttributesImpl _fa, 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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |