|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.reader.xmlschema.BindingComponent
com.sun.tools.xjc.reader.xmlschema.ClassSelector
public final class ClassSelector
Manages association between XSComponent
s and generated
CTypeInfo
s.
This class determines which component is mapped to (or is not mapped to) what types.
Constructor Summary | |
---|---|
ClassSelector()
|
Method Summary | |
---|---|
CClass |
bindToType(com.sun.xml.xsom.XSComplexType t,
com.sun.xml.xsom.XSComponent referer,
boolean cannotBeDelayed)
|
CTypeInfo |
bindToType(com.sun.xml.xsom.XSComponent sc,
com.sun.xml.xsom.XSComponent referer)
Checks if the given component is being mapped to a type. |
CElement |
bindToType(com.sun.xml.xsom.XSElementDecl e,
com.sun.xml.xsom.XSComponent referer)
|
TypeUse |
bindToType(com.sun.xml.xsom.XSType t,
com.sun.xml.xsom.XSComponent referer)
|
void |
executeTasks()
Runs all the pending build tasks. |
CClassInfoParent |
getClassScope()
Gets the current class scope. |
CClassInfo |
getCurrentBean()
|
com.sun.xml.xsom.XSComponent |
getCurrentRoot()
|
com.sun.codemodel.JPackage |
getPackage(java.lang.String targetNamespace)
Gets the Java package to which classes from this namespace should go. |
CElement |
isBound(com.sun.xml.xsom.XSElementDecl x,
com.sun.xml.xsom.XSComponent referer)
Checks if the given component is bound to a class. |
void |
popClassScope()
|
void |
pushClassScope(CClassInfoParent clsFctry)
|
void |
queueBuild(com.sun.xml.xsom.XSComponent sc,
CElement bean)
|
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.BindingComponent |
---|
getClassSelector, getErrorReporter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassSelector()
Method Detail |
---|
public final CClassInfoParent getClassScope()
public final void pushClassScope(CClassInfoParent clsFctry)
public final void popClassScope()
public com.sun.xml.xsom.XSComponent getCurrentRoot()
public CClassInfo getCurrentBean()
public final CElement isBound(com.sun.xml.xsom.XSElementDecl x, com.sun.xml.xsom.XSComponent referer)
public CTypeInfo bindToType(com.sun.xml.xsom.XSComponent sc, com.sun.xml.xsom.XSComponent referer)
public CElement bindToType(com.sun.xml.xsom.XSElementDecl e, com.sun.xml.xsom.XSComponent referer)
public CClass bindToType(com.sun.xml.xsom.XSComplexType t, com.sun.xml.xsom.XSComponent referer, boolean cannotBeDelayed)
public TypeUse bindToType(com.sun.xml.xsom.XSType t, com.sun.xml.xsom.XSComponent referer)
public void executeTasks()
public void queueBuild(com.sun.xml.xsom.XSComponent sc, CElement bean)
public com.sun.codemodel.JPackage getPackage(java.lang.String targetNamespace)
Usually, the getOuterClass method should be used to determine where to put a class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |