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

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.ct.CTBuilder
      extended by com.sun.tools.xjc.reader.xmlschema.ct.STDerivedComplexTypeBuilder

final class STDerivedComplexTypeBuilder
extends CTBuilder

Binds a complex type derived from a simple type. When a complex type is derived from a simple type, it is always by extension.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.ct.CTBuilder
bgmBuilder, builder, errorReceiver, green, schemas, selector, simpleTypeBuilder
 
Constructor Summary
STDerivedComplexTypeBuilder()
           
 
Method Summary
 void build(XSComplexType ct)
          Binds the given complex type.
 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
 

Constructor Detail

STDerivedComplexTypeBuilder

STDerivedComplexTypeBuilder()
Method Detail

isApplicable

public boolean isApplicable(XSComplexType ct)
Description copied from class: CTBuilder
Returns true if this owner can handle the given complex type.

Specified by:
isApplicable in class CTBuilder

build

public void build(XSComplexType ct)
Description copied from class: CTBuilder
Binds the given complex type. This method will be called only when the isApplicable method returns true.

Specified by:
build in class CTBuilder