com.sun.tools.xjc.reader.xmlschema.ct
Class CTBuilder
java.lang.Object
com.sun.tools.xjc.reader.xmlschema.ct.CTBuilder
- Direct Known Subclasses:
- ChoiceContentComplexTypeBuilder, ExtendedComplexTypeBuilder, FreshComplexTypeBuilder, MixedComplexTypeBuilder, RestrictedComplexTypeBuilder, STDerivedComplexTypeBuilder
abstract class CTBuilder
- extends Object
Builds a field expression from a complex type.
Depending on a "kind" of complex type, the binding is
quite different. For example, how a complex type is bound
when it is extended from another complex type is very
different from how it's bound when it has, say, mixed content model.
Each different algorithm of binding a complex type is implemented
as an implementation of this interface.
Method Summary |
(package private) abstract void |
build(XSComplexType ct)
Binds the given complex type. |
(package private) abstract boolean |
isApplicable(XSComplexType ct)
Returns true if this owner can handle the given complex type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
builder
protected final ComplexTypeFieldBuilder builder
selector
protected final ClassSelector selector
simpleTypeBuilder
protected final SimpleTypeBuilder simpleTypeBuilder
errorReceiver
protected final ErrorReceiver errorReceiver
green
protected final BindGreen green
schemas
protected final XSSchemaSet schemas
bgmBuilder
protected final BGMBuilder bgmBuilder
CTBuilder
CTBuilder()
isApplicable
abstract boolean isApplicable(XSComplexType ct)
- Returns true if this owner can handle the given complex type.
build
abstract void build(XSComplexType ct)
- Binds the given complex type. This method will be called
only when the
isApplicable
method returns true.