com.sun.tools.xjc.reader.xmlschema.ct

Class CTBuilder

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.
Field Summary
protected BGMBuilderbgmBuilder
protected ComplexTypeFieldBuilderbuilder
protected ErrorReceivererrorReceiver
protected BindGreengreen
protected XSSchemaSetschemas
protected ClassSelectorselector
protected SimpleTypeBuildersimpleTypeBuilder
Method Summary
abstract voidbuild(XSComplexType ct)
Binds the given complex type.
abstract booleanisApplicable(XSComplexType ct)
Returns true if this owner can handle the given complex type.

Field Detail

bgmBuilder

protected final BGMBuilder bgmBuilder

builder

protected final ComplexTypeFieldBuilder builder

errorReceiver

protected final ErrorReceiver errorReceiver

green

protected final BindGreen green

schemas

protected final XSSchemaSet schemas

selector

protected final ClassSelector selector

simpleTypeBuilder

protected final SimpleTypeBuilder simpleTypeBuilder

Method Detail

build

abstract void build(XSComplexType ct)
Binds the given complex type. This method will be called only when the isApplicable method returns true.

isApplicable

abstract boolean isApplicable(XSComplexType ct)
Returns true if this owner can handle the given complex type.