org.exolab.castor.builder

Class TypeConversion


public class TypeConversion
extends java.lang.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

(package private) class
TypeConversion.TypeNames

Method Summary

static XSType
convertType(String javaType)
Returns the XSType that corresponds to the given javaType
static XSType
convertType(SimpleType simpleType)
Converts the given Simpletype to the appropriate XSType.
static XSType
convertType(SimpleType simpleType, String packageName)
static XSType
convertType(SimpleType simpleType, boolean useWrapper, String packageName)

Method Details

convertType

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

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)

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