public final class ClassSelector extends BindingComponent
XSComponent
s and generated
CTypeInfo
s.
This class determines which component is mapped to (or is not mapped to) what types.
Constructor and Description |
---|
ClassSelector() |
Modifier and Type | Method and Description |
---|---|
CClass |
bindToType(XSComplexType t,
XSComponent referer,
boolean cannotBeDelayed) |
CTypeInfo |
bindToType(XSComponent sc,
XSComponent referer)
Checks if the given component is being mapped to a type.
|
CElement |
bindToType(XSElementDecl e,
XSComponent referer) |
TypeUse |
bindToType(XSType t,
XSComponent referer) |
void |
executeTasks()
Runs all the pending build tasks.
|
CClassInfoParent |
getClassScope()
Gets the current class scope.
|
CClassInfo |
getCurrentBean() |
XSComponent |
getCurrentRoot() |
JPackage |
getPackage(String targetNamespace)
Gets the Java package to which classes from
this namespace should go.
|
CElement |
isBound(XSElementDecl x,
XSComponent referer)
Checks if the given component is bound to a class.
|
void |
popClassScope() |
void |
pushClassScope(CClassInfoParent clsFctry) |
void |
queueBuild(XSComponent sc,
CElement bean) |
getClassSelector, getErrorReporter
public final CClassInfoParent getClassScope()
public final void pushClassScope(CClassInfoParent clsFctry)
public final void popClassScope()
public XSComponent getCurrentRoot()
public CClassInfo getCurrentBean()
public final CElement isBound(XSElementDecl x, XSComponent referer)
public CTypeInfo bindToType(XSComponent sc, XSComponent referer)
public CElement bindToType(XSElementDecl e, XSComponent referer)
public CClass bindToType(XSComplexType t, XSComponent referer, boolean cannotBeDelayed)
public TypeUse bindToType(XSType t, XSComponent referer)
public void executeTasks()
public void queueBuild(XSComponent sc, CElement bean)
Copyright © 2021 JBoss by Red Hat. All rights reserved.