One of the information contained in a global customization is the default binding for properties. This object contains a BIProperty object to keep this information.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | BIGlobalBinding.
Global |
| pack-priv static class | BIGlobalBinding.
Global |
| private static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv ImplStructureStrategy | codeGenerationStrategy
The code generation strategy. |
| private CollectionTypeAttribute | |
| pack-priv int | defaultEnumMemberSizeCap
Default cap to the number of constants in the enum. |
| private BIProperty | defaultProperty
Gets the default defaultProperty customization. |
| private Set | enumBaseTypes
Set of datatype names. |
| private boolean | |
| pack-priv LocalScoping | flattenClasses
If true, interfaces/classes that are normally generated as a nested interface/class will be generated into the package, allowing the generated classes to be flat. |
| pack-priv boolean | generateElementClass
True to generate a class for elements by default. |
| pack-priv Boolean | |
| pack-priv EnumMemberMode | generateEnumMemberName
Returns true if the compiler needs to generate type-safe enum member names when enumeration values cannot be used as constant names. |
| pack-priv boolean | |
| private final Map | globalConversions
Globally-defined conversion customizations. |
| pack-priv boolean | isJavaNamingConventionEnabled
Returns true if the "isJavaNamingConventionEnabled" option is turned on. |
| public static final QName | |
| public NameConverter | nameConverter
Gets the name converter that will govern the |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv OptionalPropertyMode | |
| private BISerializable | serializable
Returns |
| pack-priv String | simpleMode
Generate the simpler optimized code, but not necessarily conforming to the spec. |
| pack-priv boolean | simpleTypeSubstitution
True to generate classes for every simple type. |
| pack-priv BIGlobalBinding. | superClass
If |
| pack-priv BIGlobalBinding. | superInterface
If |
| pack-priv String | treatRestrictionLikeNewType
Handles complex type restriction as if it were a new type. |
| pack-priv BIGlobalBinding. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canBeMappedToTypeSafeEnum(QName typeName)
Checks if the given XML Schema built-in type can be mapped to a type-safe enum class. |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public ImplStructureStrategy | |
| public int | |
| public BIProperty | |
| public EnumMemberMode | |
| public LocalScoping | |
| public QName | getName()
Implements com. Gets the name of this binding declaration, which is the same as the tag name of the binding element. |
| public BISerializable | |
| public JDefinedClass | |
| public JDefinedClass | |
| pack-priv BIGlobalBinding. | |
| public boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | onSetOwner()
Overrides com. Implements com. Called when the parent |
| private void | |
| pack-priv void | |
| private void | |
| private void | |
| public void | setParent(BindInfo parent)
Overrides com. Implements com. Sets the parent BindInfo object of this declaration. |
| pack-priv void | |
| pack-priv void | setXjcSerializable(BISerializable s)
Another 1.0 compatibility customization (but we accept it
and treat it as |
| choiceContentProperty | back to summary |
|---|---|
| pack-priv boolean choiceContentProperty
| |
| codeGenerationStrategy | back to summary |
|---|---|
| pack-priv ImplStructureStrategy codeGenerationStrategy The code generation strategy.
| |
| collectionType | back to summary |
|---|---|
| private CollectionTypeAttribute collectionType
| |
| defaultEnumMemberSizeCap | back to summary |
|---|---|
| pack-priv int defaultEnumMemberSizeCap Default cap to the number of constants in the enum. We won't attempt to produce a type-safe enum by default if there are more enumeration facets than specified in this field.
| |
| defaultProperty | back to summary |
|---|---|
| private BIProperty defaultProperty Gets the default defaultProperty customization. | |
| enumBaseTypes | back to summary |
|---|---|
| private Set<QName> enumBaseTypes Set of datatype names. For a type-safe enum class to be generated, the underlying XML datatype must be derived from one of the types in this set.
| |
| fixedAttributeAsConstantProperty | back to summary |
|---|---|
| private boolean fixedAttributeAsConstantProperty
| |
| flattenClasses | back to summary |
|---|---|
| pack-priv LocalScoping flattenClasses If true, interfaces/classes that are normally generated as a nested interface/class will be generated into the package, allowing the generated classes to be flat. See Bug 4969415 for the motivation.
| |
| generateElementClass | back to summary |
|---|---|
| pack-priv boolean generateElementClass True to generate a class for elements by default. | |
| generateElementProperty | back to summary |
|---|---|
pack-priv Boolean generateElementProperty
| |
| generateEnumMemberName | back to summary |
|---|---|
| pack-priv EnumMemberMode generateEnumMemberName Returns true if the compiler needs to generate type-safe enum member names when enumeration values cannot be used as constant names.
| |
| generateMixedExtensions | back to summary |
|---|---|
| pack-priv boolean generateMixedExtensions
| |
| globalConversions | back to summary |
|---|---|
| private final Map<QName, BIConversion> globalConversions Globally-defined conversion customizations.
| |
| isJavaNamingConventionEnabled | back to summary |
|---|---|
| pack-priv boolean isJavaNamingConventionEnabled Returns true if the "isJavaNamingConventionEnabled" option is turned on. In this mode, the compiler is expected to apply XML-to-Java name conversion algorithm even to names given by customizations. This method is intended to be called by other BIXXX classes. The effect of this switch should be hidden inside this package. IOW, the reader.xmlschema package shouldn't be aware of this switch.
| |
| NAME | back to summary |
|---|---|
| public static final QName NAME | |
| nameConverter | back to summary |
|---|---|
| public NameConverter nameConverter Gets the name converter that will govern the The "underscoreBinding" customization will determine the exact object returned from this method. The rest of XJC should just use the NameConverter interface. Always non-null. | |
| noMarshaller | back to summary |
|---|---|
pack-priv String noMarshaller
| |
| noUnmarshaller | back to summary |
|---|---|
pack-priv String noUnmarshaller
| |
| noValidatingUnmarshaller | back to summary |
|---|---|
pack-priv String noValidatingUnmarshaller
| |
| noValidator | back to summary |
|---|---|
pack-priv String noValidator
| |
| optionalProperty | back to summary |
|---|---|
| pack-priv OptionalPropertyMode optionalProperty
| |
| serializable | back to summary |
|---|---|
| private BISerializable serializable Returns | |
| simpleMode | back to summary |
|---|---|
| pack-priv String simpleMode Generate the simpler optimized code, but not necessarily conforming to the spec.
| |
| simpleTypeSubstitution | back to summary |
|---|---|
| pack-priv boolean simpleTypeSubstitution True to generate classes for every simple type.
| |
| superClass | back to summary |
|---|---|
| pack-priv BIGlobalBinding. If
| |
| superInterface | back to summary |
|---|---|
| pack-priv BIGlobalBinding. If
| |
| treatRestrictionLikeNewType | back to summary |
|---|---|
| pack-priv String treatRestrictionLikeNewType Handles complex type restriction as if it were a new type.
| |
| typeSubstitution | back to summary |
|---|---|
pack-priv BIGlobalBinding.
| |
| BIGlobalBinding | back to summary |
|---|---|
| public BIGlobalBinding() Creates a bind info object with the default values | |
| canBeMappedToTypeSafeEnum | back to summary |
|---|---|
| public boolean canBeMappedToTypeSafeEnum(QName typeName) Checks if the given XML Schema built-in type can be mapped to a type-safe enum class. | |
| canBeMappedToTypeSafeEnum | back to summary |
|---|---|
| public boolean canBeMappedToTypeSafeEnum(String nsUri, String localName) | |
| canBeMappedToTypeSafeEnum | back to summary |
|---|---|
| public boolean canBeMappedToTypeSafeEnum(XSDeclaration decl) | |
| dispatchGlobalConversions | back to summary |
|---|---|
| public void dispatchGlobalConversions(XSSchemaSet schema) Moves global BIConversion to the right object. | |
| errorCheck | back to summary |
|---|---|
| public void errorCheck() Performs error check | |
| getCodeGenerationStrategy | back to summary |
|---|---|
| public ImplStructureStrategy getCodeGenerationStrategy() | |
| getDefaultEnumMemberSizeCap | back to summary |
|---|---|
| public int getDefaultEnumMemberSizeCap() | |
| getDefaultProperty | back to summary |
|---|---|
| public BIProperty getDefaultProperty() | |
| getEnumMemberMode | back to summary |
|---|---|
| public EnumMemberMode getEnumMemberMode() | |
| getFlattenClasses | back to summary |
|---|---|
| public LocalScoping getFlattenClasses() | |
| getName | back to summary |
|---|---|
| public QName getName() Implements com. Doc from com. Gets the name of this binding declaration, which is the same as the tag name of the binding element.
| |
| getSerializable | back to summary |
|---|---|
| public BISerializable getSerializable() | |
| getSuperClass | back to summary |
|---|---|
| public JDefinedClass getSuperClass() | |
| getSuperInterface | back to summary |
|---|---|
| public JDefinedClass getSuperInterface() | |
| getUnderscoreBinding | back to summary |
|---|---|
| pack-priv BIGlobalBinding. | |
| isChoiceContentPropertyEnabled | back to summary |
|---|---|
| public boolean isChoiceContentPropertyEnabled() | |
| isEqual | back to summary |
|---|---|
| public boolean isEqual(BIGlobalBinding b) | |
| isEqual | back to summary |
|---|---|
| private boolean isEqual(Object a, Object b) | |
| isGenerateElementClass | back to summary |
|---|---|
| public boolean isGenerateElementClass() | |
| isGenerateMixedExtensions | back to summary |
|---|---|
| public boolean isGenerateMixedExtensions() | |
| isJavaNamingConventionEnabled | back to summary |
|---|---|
| public boolean isJavaNamingConventionEnabled() | |
| isRestrictionFreshType | back to summary |
|---|---|
| public boolean isRestrictionFreshType() | |
| isSimpleMode | back to summary |
|---|---|
| public boolean isSimpleMode() | |
| isSimpleTypeSubstitution | back to summary |
|---|---|
| public boolean isSimpleTypeSubstitution() | |
| onSetOwner | back to summary |
|---|---|
| public void onSetOwner() Overrides com. Implements com. Doc from com. Called when the parent
| |
| setGenerateElementPropertyStd | back to summary |
|---|---|
private void setGenerateElementPropertyStd(boolean value)
| |
| setGenerateIsSetMethod | back to summary |
|---|---|
pack-priv void setGenerateIsSetMethod(boolean b)
| |
| setGlobalConversions | back to summary |
|---|---|
private void setGlobalConversions(BIGlobalBinding.
| |
| setGlobalConversions2 | back to summary |
|---|---|
private void setGlobalConversions2(BIGlobalBinding.
| |
| setParent | back to summary |
|---|---|
| public void setParent(BindInfo parent) Overrides com. Implements com. Doc from com. Sets the parent BindInfo object of this declaration. A declaration object can use this pointer to access context information, such as other customizations.
This method can be only called from
| |
| setUnderscoreBinding | back to summary |
|---|---|
pack-priv void setUnderscoreBinding(BIGlobalBinding.
| |
| setXjcSerializable | back to summary |
|---|---|
| pack-priv void setXjcSerializable(BISerializable s) Another 1.0 compatibility customization (but we accept it
and treat it as
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | unmarshal(BIGlobalBinding.
Implements abstract jakarta. Convert a value type to a bound type. |
| ClassNameAdapter | back to summary |
|---|---|
| pack-priv ClassNameAdapter() | |
| unmarshal | back to summary |
|---|---|
| public String unmarshal(BIGlobalBinding. Implements abstract jakarta. Doc from jakarta. Convert a value type to a bound type.
| |
<[element] name="className" />
| Modifier and Type | Field and Description |
|---|---|
| pack-priv JDefinedClass | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv JDefinedClass |
| clazz | back to summary |
|---|---|
| pack-priv JDefinedClass clazz Computed from | |
| name | back to summary |
|---|---|
pack-priv String name
| |
| ClassNameBean | back to summary |
|---|---|
| pack-priv ClassNameBean() | |
| getClazz | back to summary |
|---|---|
| pack-priv JDefinedClass getClazz(ClassType t) | |
<jaxb:javaType>.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv QName |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| xmlType | back to summary |
|---|---|
| pack-priv QName xmlType
| |
| GlobalStandardConversion | back to summary |
|---|---|
| pack-priv GlobalStandardConversion() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
<xjc:javaType>.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| xmlType | back to summary |
|---|---|
| pack-priv QName xmlType
| |
| GlobalVendorConversion | back to summary |
|---|---|
| pack-priv GlobalVendorConversion() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Access | Constructor and Description |
|---|---|
| private |
| type | back to summary |
|---|---|
| pack-priv String type
| |
| TypeSubstitutionElement | back to summary |
|---|---|
| private TypeSubstitutionElement() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BIGlobalBinding. | |
| pack-priv final NameConverter | |
| public static final BIGlobalBinding. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BIGlobalBinding. | |
| public static BIGlobalBinding. |
| CHAR_IN_WORD | back to summary |
|---|---|
public static final BIGlobalBinding.
| |
| nc | back to summary |
|---|---|
| pack-priv final NameConverter nc | |
| WORD_SEPARATOR | back to summary |
|---|---|
public static final BIGlobalBinding.
| |
| UnderscoreBinding | back to summary |
|---|---|
| private UnderscoreBinding(NameConverter nc) | |
| valueOf | back to summary |
|---|---|
| public static BIGlobalBinding. | |
| values | back to summary |
|---|---|
| public static BIGlobalBinding. | |