com.sun.tools.xjc.reader.xmlschema

Class DefaultClassBinder

final class DefaultClassBinder extends Object implements ClassBinder

Default classBinder implementation. Honors <jaxb:class> customizations and default bindings.
Field Summary
protected BGMBuilderbuilder
protected XSSchemaSetschemas
protected ClassSelectorselector
Method Summary
CClassInfoannotation(XSAnnotation annon)
CElementattGroupDecl(XSAttGroupDecl decl)
CElementattributeDecl(XSAttributeDecl decl)
CClassInfoattributeUse(XSAttributeUse use)
CElementcomplexType(XSComplexType type)
CElementelementDecl(XSElementDecl decl)
CClassInfoempty(XSContentType ct)
CClassInfofacet(XSFacet decl)
XSElementDeclgetSoleElementReferer(XSType t)
If only one global XSElementDecl is refering to XSType, return that element, otherwise null.
CClassInfoidentityConstraint(XSIdentityConstraint xsIdentityConstraint)
CElementmodelGroup(XSModelGroup mgroup)
CElementmodelGroupDecl(XSModelGroupDecl decl)
CClassInfonotation(XSNotation not)
CClassInfoparticle(XSParticle particle)
CClassInfoschema(XSSchema schema)
CElementsimpleType(XSSimpleType type)
CClassInfowildcard(XSWildcard wc)
CClassInfoxpath(XSXPath xsxPath)

Field Detail

builder

protected final BGMBuilder builder

schemas

protected final XSSchemaSet schemas

selector

protected final ClassSelector selector

Method Detail

annotation

public CClassInfo annotation(XSAnnotation annon)

attGroupDecl

public CElement attGroupDecl(XSAttGroupDecl decl)

attributeDecl

public CElement attributeDecl(XSAttributeDecl decl)

attributeUse

public CClassInfo attributeUse(XSAttributeUse use)

complexType

public CElement complexType(XSComplexType type)

elementDecl

public CElement elementDecl(XSElementDecl decl)

empty

public CClassInfo empty(XSContentType ct)

facet

public CClassInfo facet(XSFacet decl)

getSoleElementReferer

XSElementDecl getSoleElementReferer(XSType t)
If only one global XSElementDecl is refering to XSType, return that element, otherwise null.

identityConstraint

public CClassInfo identityConstraint(XSIdentityConstraint xsIdentityConstraint)

modelGroup

public CElement modelGroup(XSModelGroup mgroup)

modelGroupDecl

public CElement modelGroupDecl(XSModelGroupDecl decl)

notation

public CClassInfo notation(XSNotation not)

particle

public CClassInfo particle(XSParticle particle)

schema

public CClassInfo schema(XSSchema schema)

simpleType

public CElement simpleType(XSSimpleType type)

wildcard

public CClassInfo wildcard(XSWildcard wc)

xpath

public CClassInfo xpath(XSXPath xsxPath)