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

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

final class RestrictedComplexTypeBuilder
extends CTBuilder

Binds a complex type derived from another complex type by restriction.


Field Summary
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.ct.CTBuilder
bgmBuilder, builder, errorReceiver, green, schemas, selector, simpleTypeBuilder
 
Constructor Summary
RestrictedComplexTypeBuilder()
           
 
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

RestrictedComplexTypeBuilder

RestrictedComplexTypeBuilder()
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