|
||||||||||
| 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.ModelGroupDeclImpl
public class ModelGroupDeclImpl
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl |
|---|
ownerDocument |
| Constructor Summary | |
|---|---|
ModelGroupDeclImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _targetNamespace,
String _name,
ModelGroupImpl _modelGroup)
|
|
| Method Summary | ||
|---|---|---|
Object |
apply(XSFunction function)
Accepts a functor. |
|
Object |
apply(XSTermFunction function)
|
|
|
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. |
|
| 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.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 ModelGroupDeclImpl(SchemaDocumentImpl owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl _fa,
String _targetNamespace,
String _name,
ModelGroupImpl _modelGroup)
| Method Detail |
|---|
public XSModelGroup getModelGroup()
XSModelGroupDecl
getModelGroup in interface XSModelGroupDeclpublic void redefine(ModelGroupDeclImpl oldMG)
public void visit(XSVisitor visitor)
XSComponent
visit in interface XSComponentpublic void visit(XSTermVisitor visitor)
visit in interface XSTermpublic Object apply(XSTermFunction function)
apply in interface XSTerm
public <T,P> T apply(XSTermFunctionWithParam<T,P> function,
P param)
apply in interface XSTermpublic Object apply(XSFunction function)
XSComponent
apply 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.Term
getTerm in interface Ref.Termpublic 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 | |||||||||