org.exolab.castor.builder
Class TypeConversion
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeConversion
public TypeConversion()
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