This class is the implementation of BindingComponent from an XML Schema point of view. This specific implementation wraps an XML Schema annotated structure.
The XML Schema structure can be only of four different types:
The three first items can be customized using a binding file. Thus the XMLBindingComponent class takes into account the presence or not of a custom binding document in the computation of the needed information for the Source Generator to generate java classes from an XML Schema.
The customizable items are detailled in the binding file documentation.
This class acts like a window on a particular XML Schema structure that the user controls by changing the view on the Annotated Structure he is interested in.
org.exolab.castor.builder.binding.XMLBindingComponent.XMLBindingComponent | ( | BuilderConfiguration | config | ) |
Constructs an XMLBindingComponent from an XML Schema Component.
config | the BuilderConfiguration instance (must not be null). |
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType().
org.exolab.castor.builder.binding.XMLBindingComponent.[static initializer] | ( | ) | [static, package] |
boolean org.exolab.castor.builder.binding.XMLBindingComponent.createGroupItem | ( | ) |
Returns true if the binding of this XMLBindingComponent will require the generation of 2 java classes. Indeed an a nested Model Group that can occur more than once is described by the SourceGenerator with a wrapper class.
References org.exolab.castor.xml.schema.Particle.getMaxOccurs(), org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.xml.schema.Structure.getStructureType(), and org.exolab.castor.xml.schema.XMLType.isComplexType().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.equals | ( | Object | object | ) |
Returns true if the given Object is equal to this instance of XMLBindingComponent.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.XMLBindingComponent.getAnnotated(), and org.exolab.castor.builder.binding.XMLBindingComponent.getComponentBinding().
Annotated org.exolab.castor.builder.binding.XMLBindingComponent.getAnnotated | ( | ) |
Returns the XML Schema annotated structure used in this XMLBindingComponent.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), and org.exolab.castor.builder.binding.XMLBindingComponent.equals().
ExtendedBinding org.exolab.castor.builder.binding.XMLBindingComponent.getBinding | ( | ) |
Returns the Binding Object Model on which this XMLBindingComponent will query information.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.builder.SourceGenerator.mappingSchemaElement2Java(), and org.exolab.castor.builder.SourceGenerator.mappingSchemaType2Java().
String org.exolab.castor.builder.binding.XMLBindingComponent.getCollectionType | ( | ) |
Returns the collection name specified in the binding file. If no collection was specified, null will be returned and the default collection settings will be used.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.FieldType.getCollection(), org.exolab.castor.builder.BindingComponent.MEMBER, and org.exolab.castor.builder.binding.types.FieldTypeCollectionType.toString().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
ComponentBindingType org.exolab.castor.builder.binding.XMLBindingComponent.getComponentBinding | ( | ) | [protected] |
Returns the ComponentBinding used in that XMLBindingComponent to retrieve customized information.
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.equals().
String org.exolab.castor.builder.binding.XMLBindingComponent.getExtends | ( | ) |
Returns the name of a super class for the current XMLBinding. Null is returned if this XMLBinding is not meant to be mapped to a java class.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.ClassType.getExtends(), org.exolab.castor.builder.BuilderConfiguration.getProperty(), and org.exolab.castor.builder.binding.XMLBindingComponent.getType().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
String [] org.exolab.castor.builder.binding.XMLBindingComponent.getImplements | ( | ) |
Returns an array of the different interface names implemented by the class that will represent the current XMLBindingComponent. Null is returned if no class binding is defined for the wrapped XML Schema structure.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.ClassType.getImplements(), and org.exolab.castor.builder.binding.XMLBindingComponent.getType().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
String org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName | ( | ) |
Returns a valid Java Class Name corresponding to this XMLBindingComponent. This name is not qualified, this is only a local Java class name.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.GroupNaming.createClassName(), org.exolab.castor.builder.binding.Interface.getName(), org.exolab.castor.builder.binding.ClassType.getName(), org.exolab.castor.xml.schema.ElementDecl.getReference(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.builder.binding.XMLBindingComponent.getType(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLName(), org.exolab.castor.builder.BindingComponent.INTERFACE, org.exolab.castor.xml.schema.ElementDecl.isReference(), and org.exolab.castor.builder.binding.XMLBindingComponent.setView().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType(), and org.exolab.castor.builder.binding.XMLBindingComponent.getQualifiedName().
String org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName | ( | ) |
Returns a valid Java Member Name corresponding to this XMLBindingComponent. This name is not qualified, this is only a local Java Member name.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.GroupNaming.createClassName(), org.exolab.castor.xml.schema.ContentModelGroup.enumerate(), org.exolab.castor.builder.binding.FieldType.getName(), org.exolab.castor.builder.binding.Interface.getName(), org.exolab.castor.builder.binding.ClassType.getName(), org.exolab.castor.xml.schema.ElementDecl.getParent(), org.exolab.castor.xml.schema.ElementDecl.getReference(), org.exolab.castor.xml.schema.AttributeDecl.getReference(), org.exolab.castor.xml.schema.ElementDecl.getReferenceName(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.builder.binding.XMLBindingComponent.getType(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLName(), org.exolab.castor.builder.BindingComponent.INTERFACE, org.exolab.castor.xml.schema.ElementDecl.isReference(), org.exolab.castor.xml.schema.AttributeDecl.isReference(), org.exolab.castor.builder.BindingComponent.MEMBER, and org.exolab.castor.builder.binding.XMLBindingComponent.setView().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
String org.exolab.castor.builder.binding.XMLBindingComponent.getJavaPackage | ( | ) |
Returns the java package associated with this XML BindingComponent. The algorithm used to resolve the package is defined according to the following priorities:
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.ClassType.getPackage(), org.exolab.castor.builder.binding.XMLBindingComponent.getSchemaLocation(), org.exolab.castor.builder.binding.XMLBindingComponent.getTargetNamespace(), org.exolab.castor.builder.binding.XMLBindingComponent.getType(), org.exolab.castor.builder.BuilderConfiguration.lookupPackageByLocation(), and org.exolab.castor.builder.BuilderConfiguration.lookupPackageByNamespace().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType(), and org.exolab.castor.builder.binding.XMLBindingComponent.getQualifiedName().
XSType org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType | ( | ) |
Returns the XSType that corresponds to the Java type chosen to represent the XML Schema component represented by this XMLBindingComponent. An XSType is an abstraction of a Java type used in the Source Generator. It wraps a JType as well as the necessary methods to convert to/from String.
If a name of java type is specified then this name will have higher priority than the simpleType resolution.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.TypeConversion.convertType(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaPackage(), org.exolab.castor.builder.binding.FieldType.getJavaType(), org.exolab.castor.builder.binding.XMLBindingComponent.getSchema(), org.exolab.castor.builder.binding.XMLBindingComponent.getXMLType(), org.exolab.castor.xml.schema.XMLType.isComplexType(), org.exolab.castor.xml.schema.XMLType.isSimpleType(), org.exolab.castor.builder.BuilderConfiguration.lookupPackageByNamespace(), org.exolab.castor.builder.BindingComponent.MEMBER, org.exolab.castor.builder.binding.XMLBindingComponent.setBinding(), org.exolab.castor.builder.binding.XMLBindingComponent.setView(), org.exolab.castor.builder.binding.XMLBindingComponent.useWrapper(), and org.exolab.castor.builder.binding.XMLBindingComponent.XMLBindingComponent().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
int org.exolab.castor.builder.binding.XMLBindingComponent.getLowerBound | ( | ) |
Returns the lower bound of the collection that is generated from this BindingComponent. The lower bound is a positive integer. In the case of an XML Schema component, it corresponds to the XML Schema minOccurs attribute, if any.
Implements org.exolab.castor.builder.BindingComponent.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
String org.exolab.castor.builder.binding.XMLBindingComponent.getQualifiedName | ( | ) |
Returns the fully qualified name used for generating a java name that represents this XMLBindingComponent.
The fully qualified name is computed according the following priority order:
Note: the computation of the namespace is a direct look-up for a defined mapping (Namespace, package) or (schema location, package).
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaPackage().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), and org.exolab.castor.builder.SourceFactory.createSourceCode().
Schema org.exolab.castor.builder.binding.XMLBindingComponent.getSchema | ( | ) |
Returns the underlying Schema of the wrapped structure.
References org.exolab.castor.xml.schema.Structure.ATTRIBUTE, org.exolab.castor.xml.schema.Structure.COMPLEX_TYPE, org.exolab.castor.xml.schema.Structure.ELEMENT, org.exolab.castor.xml.schema.ModelGroup.getReference(), org.exolab.castor.xml.schema.ElementDecl.getReference(), org.exolab.castor.xml.schema.AttributeDecl.getReference(), org.exolab.castor.xml.schema.ModelGroup.getSchema(), org.exolab.castor.xml.schema.ElementDecl.getSchema(), org.exolab.castor.xml.schema.AttributeDecl.getSchema(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.xml.schema.Structure.GROUP, org.exolab.castor.xml.schema.ModelGroup.isReference(), org.exolab.castor.xml.schema.ElementDecl.isReference(), org.exolab.castor.xml.schema.AttributeDecl.isReference(), org.exolab.castor.xml.schema.Structure.MODELGROUP, and org.exolab.castor.xml.schema.Structure.SIMPLE_TYPE.
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType(), org.exolab.castor.builder.binding.XMLBindingComponent.getSchemaLocation(), and org.exolab.castor.builder.binding.XMLBindingComponent.getTargetNamespace().
String org.exolab.castor.builder.binding.XMLBindingComponent.getSchemaLocation | ( | ) |
Returns the schemaLocation of the parent schema of the wrapped structure.
References org.exolab.castor.builder.binding.XMLBindingComponent.getSchema(), and org.exolab.castor.xml.schema.Schema.getSchemaLocation().
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.getJavaPackage().
String org.exolab.castor.builder.binding.XMLBindingComponent.getTargetNamespace | ( | ) |
Returns the targetNamespace of the parent schema of the wrapped structure.
References org.exolab.castor.xml.schema.Schema.getAttributeFormDefault(), org.exolab.castor.xml.schema.Schema.getElementFormDefault(), org.exolab.castor.xml.schema.ElementDecl.getForm(), org.exolab.castor.xml.schema.AttributeDecl.getForm(), org.exolab.castor.xml.schema.ComplexType.getParent(), org.exolab.castor.xml.schema.ElementDecl.getParent(), org.exolab.castor.xml.schema.AttributeDecl.getParent(), org.exolab.castor.xml.schema.ElementDecl.getReference(), org.exolab.castor.xml.schema.AttributeDecl.getReference(), org.exolab.castor.builder.binding.XMLBindingComponent.getSchema(), org.exolab.castor.xml.schema.XMLType.getSchema(), org.exolab.castor.xml.schema.ElementDecl.getSchema(), org.exolab.castor.xml.schema.AttributeDecl.getSchema(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.xml.schema.Schema.getTargetNamespace(), org.exolab.castor.xml.schema.ElementDecl.isReference(), org.exolab.castor.xml.schema.AttributeDecl.isReference(), and org.exolab.castor.xml.schema.Form.isUnqualified().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaPackage().
short org.exolab.castor.builder.binding.XMLBindingComponent.getType | ( | ) |
Returns the type of this component binding. A component binding can be of three different types:
-1 is returned if the component binding is null.
Implements org.exolab.castor.builder.BindingComponent.
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.getExtends(), org.exolab.castor.builder.binding.XMLBindingComponent.getImplements(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaPackage(), org.exolab.castor.builder.binding.XMLBindingComponent.hasBoundProperties(), org.exolab.castor.builder.binding.XMLBindingComponent.hasEquals(), org.exolab.castor.builder.binding.XMLBindingComponent.isAbstract(), and org.exolab.castor.builder.binding.XMLBindingComponent.isFinal().
int org.exolab.castor.builder.binding.XMLBindingComponent.getUpperBound | ( | ) |
Returns the upper bound of the collection that is generated from this BindingComponent. The upper bound is a positive integer. -1 is returned to indicate that the upper bound is unbounded.
In the case of an XML Schema component, the upper bound corresponds to the XML Schema maxOccurs attribute, if any.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.xml.schema.Structure.getStructureType().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
String org.exolab.castor.builder.binding.XMLBindingComponent.getValidator | ( | ) |
Returns the fully qualified name of the Validator to use.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.FieldType.getValidator(), and org.exolab.castor.builder.BindingComponent.MEMBER.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
String org.exolab.castor.builder.binding.XMLBindingComponent.getValue | ( | ) |
Returns the value specified in the XML Schema for the XML Schema component wrapped in this XMLBindingComponent. The value returned is the default or fixed value for an Element or an Attribute.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.xml.schema.Structure.getStructureType().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
String org.exolab.castor.builder.binding.XMLBindingComponent.getXMLFieldHandler | ( | ) |
Returns the fully qualified name of the XMLFieldHandler to use.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.FieldType.getHandler(), and org.exolab.castor.builder.BindingComponent.MEMBER.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
String org.exolab.castor.builder.binding.XMLBindingComponent.getXMLName | ( | ) |
Returns the XML name declared in the XML Schema for this XMLBindingComponent.
References org.exolab.castor.xml.schema.Structure.getStructureType().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName().
XMLType org.exolab.castor.builder.binding.XMLBindingComponent.getXMLType | ( | ) |
Returns the XMLType of the underlying structure. The XMLType of an element being its XML Schema type, the XMLType of a ComplexType being itself and the XMLType of an attribute being its XML Schema simpleType. Null is returned for a Model Group.
References org.exolab.castor.xml.schema.Structure.ATTRIBUTE, org.exolab.castor.xml.schema.Structure.COMPLEX_TYPE, org.exolab.castor.xml.schema.Structure.ELEMENT, org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.xml.schema.XMLType.getType(), and org.exolab.castor.xml.schema.Structure.MODELGROUP.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.hasBoundProperties | ( | ) |
Returns true if bound properties must be generated for the class that will represent the current XMLBindingComponent.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BuilderConfiguration.boundPropertiesEnabled(), org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.ClassType.getBound(), org.exolab.castor.builder.binding.XMLBindingComponent.getType(), and org.exolab.castor.builder.binding.ClassType.hasBound().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.hasEquals | ( | ) |
Returns true if equal method must be generated for the class that will represent the current XMLBindingComponent.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.BuilderConfiguration.equalsMethod(), org.exolab.castor.builder.binding.ClassType.getEquals(), org.exolab.castor.builder.binding.XMLBindingComponent.getType(), and org.exolab.castor.builder.binding.ClassType.hasEquals().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
int org.exolab.castor.builder.binding.XMLBindingComponent.hashCode | ( | ) |
Returns the hashCode value for this object.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.ComponentBindingType.getName().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.isAbstract | ( | ) |
Returns true if the class that will represent the current XMLBindingComponent must be abstract.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.ClassType.getAbstract(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.builder.binding.XMLBindingComponent.getType(), org.exolab.castor.builder.binding.ClassType.hasAbstract(), and org.exolab.castor.builder.BuilderConfiguration.mappingSchemaElement2Java().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.isFinal | ( | ) |
Returns true if the class that will represent the current XMLBindingComponent must be final.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.ClassType.getFinal(), and org.exolab.castor.builder.binding.XMLBindingComponent.getType().
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.isFixed | ( | ) |
Returns true if the wrapped XML Schema component is fixed (i.e the value used is fixed).
References org.exolab.castor.xml.schema.Structure.getStructureType().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.isNillable | ( | ) |
Returns true if the wrapped XML Schema component is nillable.
References org.exolab.castor.xml.schema.Structure.getStructureType().
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo().
void org.exolab.castor.builder.binding.XMLBindingComponent.setBinding | ( | ExtendedBinding | binding | ) |
Sets the Binding Object Model on which this XMLBindingComponent will query information.
binding | the Extended Binding Object Model that wraps the information located in a binding file |
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType(), and org.exolab.castor.builder.SourceGenerator.setBinding().
void org.exolab.castor.builder.binding.XMLBindingComponent.setView | ( | Annotated | annotated | ) |
Sets the window on the given Annotated XML Schema structure. Once the window is set on a particular XML Schema structure all the information returned by this class are relative to that XML Schema structure.
annotated | an Annotated XML Schema structure. |
References org.exolab.castor.builder.BindingComponent.CLASS, org.exolab.castor.builder.binding.NamingXMLType.getComplexTypeName(), org.exolab.castor.builder.binding.ExtendedBinding.getComponentBindingType(), org.exolab.castor.builder.binding.ComponentBindingType.getComponentBindingTypeChoice(), org.exolab.castor.builder.binding.NamingXMLType.getElementName(), org.exolab.castor.builder.binding.ComponentBindingTypeChoice.getInterface(), org.exolab.castor.builder.binding.ComponentBindingTypeChoice.getJavaClass(), org.exolab.castor.builder.binding.ComponentBindingTypeChoice.getMember(), org.exolab.castor.builder.binding.NamingXMLType.getModelGroupName(), org.exolab.castor.builder.binding.Binding.getNamingXML(), org.exolab.castor.builder.binding.NamingType.getPrefix(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.builder.binding.NamingType.getSuffix(), org.exolab.castor.builder.BindingComponent.INTERFACE, and org.exolab.castor.builder.BindingComponent.MEMBER.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfo(), org.exolab.castor.builder.SourceFactory.createSourceCode(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaClassName(), org.exolab.castor.builder.binding.XMLBindingComponent.getJavaMemberName(), and org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType().
boolean org.exolab.castor.builder.binding.XMLBindingComponent.useWrapper | ( | ) |
Returns true if the member represented by that XMLBindingComponent is to be represented by an Object wrapper. For instance an int will be represented by a java Integer if the property is set to true.
Implements org.exolab.castor.builder.BindingComponent.
References org.exolab.castor.builder.binding.FieldType.getWrapper(), org.exolab.castor.builder.binding.FieldType.hasWrapper(), and org.exolab.castor.builder.BuilderConfiguration.usePrimitiveWrapper().
Referenced by org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType().