com.wles.util
Class StringTypeConverter
java.lang.Object
com.wles.util.StringTypeConverter
- All Implemented Interfaces:
- com.wles.util.TypeConverter
- public class StringTypeConverter
- extends java.lang.Object
- implements com.wles.util.TypeConverter
Method Summary |
java.lang.Object |
convertFromASI(java.lang.String asiType)
conversts a ASI string to a Java Object. |
java.lang.String |
convertToASI(java.lang.Object javaType)
converts a java object into a ASI string. |
static java.lang.String |
fromASI(java.lang.String asiType)
|
java.lang.String |
getASITypeName()
returns the ASI type name. |
java.lang.Class |
getType()
returns the type which this coverter converts. |
static java.lang.String |
toASI(java.lang.String javaType)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
singleton
public static final StringTypeConverter singleton
StringTypeConverter
public StringTypeConverter()
convertFromASI
public java.lang.Object convertFromASI(java.lang.String asiType)
throws TypeConversionException
- Description copied from interface:
com.wles.util.TypeConverter
- conversts a ASI string to a Java Object.
- Specified by:
convertFromASI
in interface com.wles.util.TypeConverter
- Throws:
TypeConversionException
convertToASI
public java.lang.String convertToASI(java.lang.Object javaType)
throws UnsupportedTypeException
- Description copied from interface:
com.wles.util.TypeConverter
- converts a java object into a ASI string.
- Specified by:
convertToASI
in interface com.wles.util.TypeConverter
- Throws:
UnsupportedTypeException
fromASI
public static java.lang.String fromASI(java.lang.String asiType)
getASITypeName
public java.lang.String getASITypeName()
- Description copied from interface:
com.wles.util.TypeConverter
- returns the ASI type name.
- Specified by:
getASITypeName
in interface com.wles.util.TypeConverter
getType
public java.lang.Class getType()
- Description copied from interface:
com.wles.util.TypeConverter
- returns the type which this coverter converts.
- Specified by:
getType
in interface com.wles.util.TypeConverter
toASI
public static java.lang.String toASI(java.lang.String javaType)
Copyright © 2005 BEA Systems Inc. All Rights Reserved.