public class AttGroupDeclImpl extends AttributesHolder implements XSAttGroupDecl
attGroups, attributes, prohibitedAttsownerDocument| Constructor and Description |
|---|
AttGroupDeclImpl(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name) |
AttGroupDeclImpl(SchemaDocumentImpl _parent,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _name,
WildcardImpl _wildcard) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addAttGroup, addAttributeUse, addProhibitedAttribute, getAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUsesgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttGroups, getAttributeUses, getDeclaredAttributeUse, getDeclaredAttributeUses, iterateAttGroups, iterateAttributeUses, iterateDeclaredAttributeUsesgetName, getTargetNamespace, isAnonymous, isGlobal, isLocalgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSinglepublic 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)
public void setWildcard(WildcardImpl wc)
AttributesHoldersetWildcard in class AttributesHolderpublic XSWildcard getAttributeWildcard()
getAttributeWildcard in interface XSAttContainerpublic 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)
XSComponentvisit in interface XSComponentpublic Object apply(XSFunction function)
XSComponentapply in interface XSComponentpublic 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 © 2005–2017 Oracle Corporation. All rights reserved.