org.exolab.castor.builder

Class TypeConversion

public class TypeConversion extends Object

A class used to convert XML Schema SimpleTypes into the appropriate XSType

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:48 $

Author: Keith Visco

Nested Class Summary
classTypeConversion.TypeNames
Method Summary
static XSTypeconvertType(SimpleType simpleType)
Converts the given Simpletype to the appropriate XSType.
static XSTypeconvertType(SimpleType simpleType, String packageName)
static XSTypeconvertType(SimpleType simpleType, boolean useWrapper, String packageName)
static XSTypeconvertType(String javaType)
Returns the XSType that corresponds to the given javaType

Method Detail

convertType

public static XSType convertType(SimpleType simpleType)
Converts the given Simpletype to the appropriate XSType.

Returns: the XSType which represets the given Simpletype

convertType

public static XSType convertType(SimpleType simpleType, String packageName)

convertType

public static XSType convertType(SimpleType simpleType, boolean useWrapper, String packageName)

convertType

public static XSType convertType(String javaType)
Returns the XSType that corresponds to the given javaType

Parameters: javaType

Returns:

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com