public class ModelGroupDeclImpl extends ComponentImpl implements XSModelGroupDecl, Ref.Term
ownerDocument| Constructor and Description |
|---|
ModelGroupDeclImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _targetNamespace,
String _name,
ModelGroupImpl _modelGroup) |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(XSFunction function)
Accepts a functor.
|
Object |
apply(XSTermFunction function) |
<T,P> T |
apply(XSTermFunctionWithParam<T,P> function,
P param) |
XSElementDecl |
asElementDecl() |
XSModelGroup |
asModelGroup() |
XSModelGroupDecl |
asModelGroupDecl() |
XSWildcard |
asWildcard() |
XSModelGroup |
getModelGroup()
Gets the body of this declaration.
|
String |
getName()
Gets the (local) name of the declaration.
|
String |
getTargetNamespace()
Target namespace to which this component belongs.
|
XSTerm |
getTerm()
Obtains a reference as a term.
|
boolean |
isAnonymous()
Deprecated.
|
boolean |
isElementDecl() |
boolean |
isGlobal()
Returns true if this declaration is a global declaration.
|
boolean |
isLocal()
Returns true if this declaration is a local declaration.
|
boolean |
isModelGroup() |
boolean |
isModelGroupDecl() |
boolean |
isWildcard() |
void |
redefine(ModelGroupDeclImpl oldMG)
This component is a redefinition of "oldMG".
|
void |
visit(XSTermVisitor visitor) |
void |
visit(XSVisitor visitor)
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getTargetNamespace, isAnonymous, isGlobal, isLocalgetAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSinglepublic ModelGroupDeclImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _targetNamespace, String _name, ModelGroupImpl _modelGroup)
public XSModelGroup getModelGroup()
XSModelGroupDeclgetModelGroup in interface XSModelGroupDeclpublic void redefine(ModelGroupDeclImpl oldMG)
public void visit(XSVisitor visitor)
XSComponentvisit in interface XSComponentpublic void visit(XSTermVisitor visitor)
public Object apply(XSTermFunction function)
public <T,P> T apply(XSTermFunctionWithParam<T,P> function, P param)
public Object apply(XSFunction function)
XSComponentapply in interface XSComponentpublic boolean isWildcard()
isWildcard in interface XSTermpublic boolean isModelGroupDecl()
isModelGroupDecl in interface XSTermpublic boolean isModelGroup()
isModelGroup in interface XSTermpublic boolean isElementDecl()
isElementDecl in interface XSTermpublic XSWildcard asWildcard()
asWildcard in interface XSTermpublic XSModelGroupDecl asModelGroupDecl()
asModelGroupDecl in interface XSTermpublic XSModelGroup asModelGroup()
asModelGroup in interface XSTermpublic XSElementDecl asElementDecl()
asElementDecl in interface XSTermpublic XSTerm getTerm()
Ref.Termpublic 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.