<jaxb:class> customizations
and default bindings.
| Modifier and Type | Field and Description |
|---|---|
| protected final BGMBuilder | |
| private final Model | |
| protected final XSSchemaSet | |
| protected final ClassSelector | |
| private final SimpleTypeBuilder |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private CElement | allow(XSComponent component, String
The token which will be used as the basis of the class name
if the class name is not specified in the customization.
This is usually the name of an element declaration, and so on.
This parameter can be null, in that case it would be an error
if a name is not given by the customization. defaultBaseName)Checks if a component carries a customization to map it to a class. |
| public CClassInfo | |
| public CElement | |
| public CElement | |
| public CClassInfo | |
| public CElement | |
| private String | |
| private String | |
| public CElement | |
| public CClassInfo | |
| public CClassInfo | |
| private BIGlobalBinding | |
| private XSElementDecl | getSoleElementReferer(XSType t)
If only one global |
| private QName | |
| public CClassInfo | identityConstraint(XSIdentityConstraint xsIdentityConstraint)
Implements com.
|
| private boolean | isCollapsable(XSElementDecl decl)
Returns true if the complex type of the given element can be "optimized away" and unified with its parent element decl to form a single class. |
| public CElement | |
| public CElement | |
| private CClassInfo | |
| public CClassInfo | |
| public CClassInfo | |
| public CClassInfo | |
| public CElement | |
| public CClassInfo | |
| public CClassInfo |
| builder | back to summary |
|---|---|
| protected final BGMBuilder builder | |
| model | back to summary |
|---|---|
| private final Model model | |
| schemas | back to summary |
|---|---|
| protected final XSSchemaSet schemas | |
| selector | back to summary |
|---|---|
| protected final ClassSelector selector | |
| stb | back to summary |
|---|---|
| private final SimpleTypeBuilder stb | |
| DefaultClassBinder | back to summary |
|---|---|
| pack-priv DefaultClassBinder() | |
| allow | back to summary |
|---|---|
| private CElement allow(XSComponent component, String defaultBaseName) Checks if a component carries a customization to map it to a class. If so, make it a class.
| |
| annotation | back to summary |
|---|---|
| public CClassInfo annotation(XSAnnotation annon) Implements com.
| |
| attGroupDecl | back to summary |
|---|---|
| public CElement attGroupDecl(XSAttGroupDecl decl) Implements com.
| |
| attributeDecl | back to summary |
|---|---|
| public CElement attributeDecl(XSAttributeDecl decl) Implements com.
| |
| attributeUse | back to summary |
|---|---|
| public CClassInfo attributeUse(XSAttributeUse use) Implements com.
| |
| complexType | back to summary |
|---|---|
| public CElement complexType(XSComplexType type) Implements com.
| |
| deriveName | back to summary |
|---|---|
| private String deriveName(XSDeclaration comp) Derives a name from a schema component. Use the name of the schema component as the default name. | |
| deriveName | back to summary |
|---|---|
| private String deriveName(XSComplexType comp) Derives a name from a schema component. For complex types, we take redefinition into account when deriving a default name. | |
| elementDecl | back to summary |
|---|---|
| public CElement elementDecl(XSElementDecl decl) Implements com.
| |
| empty | back to summary |
|---|---|
| public CClassInfo empty(XSContentType ct) Implements com.
| |
| facet | back to summary |
|---|---|
| public CClassInfo facet(XSFacet decl) Implements com.
| |
| getGlobalBinding | back to summary |
|---|---|
| private BIGlobalBinding getGlobalBinding() | |
| getSoleElementReferer | back to summary |
|---|---|
| private XSElementDecl getSoleElementReferer(XSType t) If only one global
| |
| getTypeName | back to summary |
|---|---|
| private QName getTypeName(XSComplexType type) | |
| identityConstraint | back to summary |
|---|---|
| public CClassInfo identityConstraint(XSIdentityConstraint xsIdentityConstraint) Implements com.
| |
| isCollapsable | back to summary |
|---|---|
| private boolean isCollapsable(XSElementDecl decl) Returns true if the complex type of the given element can be "optimized away" and unified with its parent element decl to form a single class. | |
| modelGroup | back to summary |
|---|---|
| public CElement modelGroup(XSModelGroup mgroup) Implements com.
| |
| modelGroupDecl | back to summary |
|---|---|
| public CElement modelGroupDecl(XSModelGroupDecl decl) Implements com.
| |
| never | back to summary |
|---|---|
| private CClassInfo never() Makes sure that the component doesn't carry a
| |
| notation | back to summary |
|---|---|
| public CClassInfo notation(XSNotation not) Implements com.
| |
| particle | back to summary |
|---|---|
| public CClassInfo particle(XSParticle particle) Implements com.
| |
| schema | back to summary |
|---|---|
| public CClassInfo schema(XSSchema schema) Implements com.
| |
| simpleType | back to summary |
|---|---|
| public CElement simpleType(XSSimpleType type) Implements com.
| |
| wildcard | back to summary |
|---|---|
| public CClassInfo wildcard(XSWildcard wc) Implements com.
| |
| xpath | back to summary |
|---|---|
| public CClassInfo xpath(XSXPath xsxPath) Implements com.
| |