|
||||||||||
| 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
com.sun.xml.xsom.impl.AttGroupDeclImpl
public class AttGroupDeclImpl
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.xsom.impl.AttributesHolder |
|---|
attGroups, attributes, prohibitedAtts |
| Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl |
|---|
ownerDocument |
| Constructor Summary | |
|---|---|
AttGroupDeclImpl(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name)
|
|
AttGroupDeclImpl(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name,
WildcardImpl _wildcard)
|
|
| Method Summary | |
|---|---|
Object |
apply(XSFunction function)
Accepts a functor. |
XSAttributeUse |
getAttributeUse(String nsURI,
String localName)
Looks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component. |
XSWildcard |
getAttributeWildcard()
|
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. |
void |
redefine(AttGroupDeclImpl ag)
|
void |
setWildcard(WildcardImpl wc)
set the local wildcard. |
void |
visit(XSVisitor visitor)
Accepts a visitor. |
| Methods inherited from class com.sun.xml.xsom.impl.AttributesHolder |
|---|
addAttGroup, addAttributeUse, addProhibitedAttribute, getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUses |
| 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.XSAttContainer |
|---|
getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUses |
| Methods inherited from interface com.sun.xml.xsom.XSDeclaration |
|---|
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal |
| Methods inherited from interface com.sun.xml.xsom.XSComponent |
|---|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle |
| Constructor Detail |
|---|
public AttGroupDeclImpl(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name,
WildcardImpl _wildcard)
public AttGroupDeclImpl(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name)
| Method Detail |
|---|
public void setWildcard(WildcardImpl wc)
AttributesHolder
setWildcard in class AttributesHolderpublic XSWildcard getAttributeWildcard()
getAttributeWildcard in interface XSAttContainer
public XSAttributeUse getAttributeUse(String nsURI,
String localName)
XSAttContainerThis is the exact implementation of the "attribute use" schema component.
getAttributeUse in interface XSAttContainerpublic void redefine(AttGroupDeclImpl ag)
public void visit(XSVisitor visitor)
XSComponent
visit in interface XSComponentpublic Object apply(XSFunction function)
XSComponent
apply in interface XSComponentpublic String getName()
XSDeclaration
getName 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()
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 | |||||||||