List of all members.
Detailed Description
A class used to convert XML Schema SimpleTypes into the appropriate XSType
- Author:
- Keith Visco
-
Arnaud Blandin
- Version:
- Revision:
- 1.6
- Date:
- 2004/10/01 13:24:44
Constructor & Destructor Documentation
Member Function Documentation
XSType org.exolab.castor.builder.TypeConversion.convertType |
( |
SimpleType |
simpleType |
) |
|
static XSType org.exolab.castor.builder.TypeConversion.convertType |
( |
String |
javaType |
) |
[static] |
Returns the XSType that corresponds to the given javaType
- Parameters:
-
- Returns:
XSType org.exolab.castor.builder.TypeConversion.convertType |
( |
SimpleType |
simpleType, |
|
|
boolean |
useWrapper, |
|
|
String |
packageName | |
|
) |
| | |
Converts the given Simpletype to the appropriate XSType.
- Parameters:
-
| simpleType | the SimpleType to convert to an XSType instance |
| useWrapper | a boolean that when true indicates that primitive wrappers be used instead of the actual primitives (e.g. java.lang.Integer instead of int) |
| packageName | the packageName for any new class types |
- Returns:
- the XSType which represets the given Simpletype
References org.exolab.castor.builder.TypeConversion.convertType(), org.exolab.castor.builder.types.XSType.DATE_TYPE, org.exolab.castor.builder.types.XSType.DATETIME_TYPE, org.exolab.castor.builder.types.XSType.DECIMAL_TYPE, org.exolab.castor.builder.types.XSType.DURATION_TYPE, org.exolab.castor.builder.types.XSType.FLOAT_TYPE, org.exolab.castor.builder.types.XSType.GDAY_TYPE, org.exolab.castor.xml.schema.XMLType.getBaseType(), org.exolab.castor.xml.schema.SimpleType.getBuiltInBaseType(), org.exolab.castor.xml.schema.XMLType.getName(), org.exolab.castor.xml.schema.SimpleType.getParent(), org.exolab.castor.xml.schema.XMLType.getSchema(), org.exolab.castor.xml.schema.SimpleType.getStructureType(), org.exolab.castor.xml.schema.Schema.getTargetNamespace(), org.exolab.castor.xml.schema.SimpleType.getTypeCode(), org.exolab.castor.builder.types.XSType.GMONTH_TYPE, org.exolab.castor.builder.types.XSType.GMONTHDAY_TYPE, org.exolab.castor.builder.types.XSType.GYEAR_TYPE, org.exolab.castor.builder.types.XSType.GYEARMONTH_TYPE, org.exolab.castor.xml.schema.SimpleType.hasFacet(), org.exolab.castor.builder.types.XSType.INT_TYPE, org.exolab.castor.builder.types.XSType.INTEGER_TYPE, org.exolab.castor.xml.schema.SimpleType.isBuiltInType(), org.exolab.castor.builder.types.XSType.LANGUAGE_TYPE, org.exolab.castor.builder.BuilderConfiguration.lookupPackageByNamespace(), org.exolab.castor.builder.types.XSType.NCNAME_TYPE, org.exolab.castor.builder.types.XSType.NEGATIVE_INTEGER_TYPE, org.exolab.castor.builder.types.XSType.NON_NEGATIVE_INTEGER_TYPE, org.exolab.castor.builder.types.XSType.NORMALIZEDSTRING_TYPE, org.exolab.castor.builder.types.XSType.POSITIVE_INTEGER_TYPE, org.exolab.castor.builder.types.XSType.QNAME_TYPE, org.exolab.castor.builder.types.XSType.setAsEnumerated(), org.exolab.castor.builder.types.XSTime.setFacets(), org.exolab.castor.builder.types.XSShort.setFacets(), org.exolab.castor.builder.types.XSString.setFacets(), org.exolab.castor.builder.types.XSQName.setFacets(), org.exolab.castor.builder.types.XSNormalizedString.setFacets(), org.exolab.castor.builder.types.XSLong.setFacets(), org.exolab.castor.builder.types.XSInt.setFacets(), org.exolab.castor.builder.types.XSInteger.setFacets(), org.exolab.castor.builder.types.XSGYear.setFacets(), org.exolab.castor.builder.types.XSGYearMonth.setFacets(), org.exolab.castor.builder.types.XSGMonth.setFacets(), org.exolab.castor.builder.types.XSGMonthDay.setFacets(), org.exolab.castor.builder.types.XSGDay.setFacets(), org.exolab.castor.builder.types.XSFloat.setFacets(), org.exolab.castor.builder.types.XSDecimal.setFacets(), org.exolab.castor.builder.types.XSDuration.setFacets(), org.exolab.castor.builder.types.XSDouble.setFacets(), org.exolab.castor.builder.types.XSDate.setFacets(), org.exolab.castor.builder.types.XSByte.setFacets(), org.exolab.castor.builder.types.XSType.SHORT_TYPE, org.exolab.castor.builder.types.XSType.STRING_TYPE, org.exolab.castor.builder.types.XSType.TIME_TYPE, and org.exolab.castor.builder.types.XSType.TOKEN_TYPE.
XSType org.exolab.castor.builder.TypeConversion.convertType |
( |
SimpleType |
simpleType, |
|
|
String |
packageName | |
|
) |
| | |
The documentation for this class was generated from the following file: