org.exolab.castor.builder
Class TypeConversion

java.lang.Object
  extended byorg.exolab.castor.builder.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
           
 
Constructor Summary
TypeConversion()
           
 
Method Summary
static XSType convertType(SimpleType simpleType)
          Converts the given Simpletype to the appropriate XSType.
static XSType convertType(SimpleType simpleType, boolean useWrapper, java.lang.String packageName)
           
static XSType convertType(SimpleType simpleType, java.lang.String packageName)
           
static XSType convertType(java.lang.String javaType)
          Returns the XSType that corresponds to the given javaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeConversion

public TypeConversion()
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,
                                 java.lang.String packageName)

convertType

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

convertType

public static XSType convertType(java.lang.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