com.sun.tools.xjc.reader.xmlschema
Class DefaultClassBinder

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.DefaultClassBinder
All Implemented Interfaces:
ClassBinder, XSContentTypeFunction<CElement>, XSFunction<CElement>, XSTermFunction<CElement>

final class DefaultClassBinder
extends Object
implements ClassBinder

Default classBinder implementation. Honors <jaxb:class> customizations and default bindings.


Field Summary
protected  BGMBuilder builder
           
protected  ClassSelector selector
           
 
Constructor Summary
DefaultClassBinder()
           
 
Method Summary
 CClassInfo annotation(XSAnnotation annon)
           
 CElement attGroupDecl(XSAttGroupDecl decl)
           
 CElement attributeDecl(XSAttributeDecl decl)
           
 CClassInfo attributeUse(XSAttributeUse use)
           
 CElement complexType(XSComplexType type)
           
 CElement elementDecl(XSElementDecl decl)
           
 CClassInfo empty(XSContentType ct)
           
 CClassInfo facet(XSFacet decl)
           
 CClassInfo identityConstraint(XSIdentityConstraint xsIdentityConstraint)
           
 CElement modelGroup(XSModelGroup mgroup)
           
 CElement modelGroupDecl(XSModelGroupDecl decl)
           
 CClassInfo notation(XSNotation not)
           
 CClassInfo particle(XSParticle particle)
           
 CClassInfo schema(XSSchema schema)
           
 CElement simpleType(XSSimpleType type)
           
 CClassInfo wildcard(XSWildcard wc)
           
 CClassInfo xpath(XSXPath xsxPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builder

protected final BGMBuilder builder

selector

protected final ClassSelector selector
Constructor Detail

DefaultClassBinder

DefaultClassBinder()
Method Detail

attGroupDecl

public CElement attGroupDecl(XSAttGroupDecl decl)
Specified by:
attGroupDecl in interface XSFunction<CElement>

attributeDecl

public CElement attributeDecl(XSAttributeDecl decl)
Specified by:
attributeDecl in interface XSFunction<CElement>

modelGroup

public CElement modelGroup(XSModelGroup mgroup)
Specified by:
modelGroup in interface XSTermFunction<CElement>

modelGroupDecl

public CElement modelGroupDecl(XSModelGroupDecl decl)
Specified by:
modelGroupDecl in interface XSTermFunction<CElement>

complexType

public CElement complexType(XSComplexType type)
Specified by:
complexType in interface XSFunction<CElement>

elementDecl

public CElement elementDecl(XSElementDecl decl)
Specified by:
elementDecl in interface XSTermFunction<CElement>

empty

public CClassInfo empty(XSContentType ct)
Specified by:
empty in interface XSContentTypeFunction<CElement>

identityConstraint

public CClassInfo identityConstraint(XSIdentityConstraint xsIdentityConstraint)
Specified by:
identityConstraint in interface XSFunction<CElement>

xpath

public CClassInfo xpath(XSXPath xsxPath)
Specified by:
xpath in interface XSFunction<CElement>

attributeUse

public CClassInfo attributeUse(XSAttributeUse use)
Specified by:
attributeUse in interface XSFunction<CElement>

simpleType

public CElement simpleType(XSSimpleType type)
Specified by:
simpleType in interface XSContentTypeFunction<CElement>

particle

public CClassInfo particle(XSParticle particle)
Specified by:
particle in interface XSContentTypeFunction<CElement>

wildcard

public CClassInfo wildcard(XSWildcard wc)
Specified by:
wildcard in interface XSTermFunction<CElement>

annotation

public CClassInfo annotation(XSAnnotation annon)
Specified by:
annotation in interface XSFunction<CElement>

notation

public CClassInfo notation(XSNotation not)
Specified by:
notation in interface XSFunction<CElement>

facet

public CClassInfo facet(XSFacet decl)
Specified by:
facet in interface XSFunction<CElement>

schema

public CClassInfo schema(XSSchema schema)
Specified by:
schema in interface XSFunction<CElement>