|
||||||||||
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.ct.ComplexTypeFieldBuilder
public final class ComplexTypeFieldBuilder
single entry point of building a field expression from a complex type.
One object is created for one BGMBuilder
.
Constructor Summary | |
---|---|
ComplexTypeFieldBuilder()
|
Method Summary | |
---|---|
void |
build(com.sun.xml.xsom.XSComplexType type)
Binds a complex type to a field expression. |
protected ComplexTypeBindingMode |
getBindingMode(com.sun.xml.xsom.XSComplexType type)
Obtains the binding mode recorded through recordBindingMode(XSComplexType, ComplexTypeBindingMode) . |
void |
recordBindingMode(com.sun.xml.xsom.XSComplexType type,
ComplexTypeBindingMode flag)
Records the binding mode of the given complex type. |
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 ComplexTypeFieldBuilder()
Method Detail |
---|
public void build(com.sun.xml.xsom.XSComplexType type)
public void recordBindingMode(com.sun.xml.xsom.XSComplexType type, ComplexTypeBindingMode flag)
Binding of a derived complex type often depends on that of the base complex type. For example, when a base type is bound to the getRest() method, all the derived complex types will be bound in the same way.
For this reason, we have to record how each complex type is being bound.
protected ComplexTypeBindingMode getBindingMode(com.sun.xml.xsom.XSComplexType type)
recordBindingMode(XSComplexType, ComplexTypeBindingMode)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |