All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.conversions.ConvertInteger
The following rules from the ODBC specification are followed; the JDBC specification does not address these in spite of allowing the conversions they apply to:
To convert to/from String, use an implementation of the StringFormatter interface.
public ConvertInteger()
public static double toDouble(int i)toDouble
public static double toDouble(Integer i)toDoubleObject
public static Double toDoubleObject(int i)toDoubleObject
public static Double toDoubleObject(Integer i)toFloat
public static float toFloat(int i)toFloat
public static float toFloat(Integer i)toFloatObject
public static Float toFloatObject(int i)toFloatObject
public static Float toFloatObject(Integer i)toBigDecimal
public static BigDecimal toBigDecimal(int i)toBigDecimal
public static BigDecimal toBigDecimal(Integer i)toLong
public static long toLong(int i)toLong
public static long toLong(Integer i)toLongObject
public static Long toLongObject(int i)toLongObject
public static Long toLongObject(Integer i)toInteger
public static int toInteger(int i)toInteger
public static int toInteger(Integer i)toIntegerObject
public static Integer toIntegerObject(int i)toIntegerObject
public static Integer toIntegerObject(Integer i)toShort
public static short toShort(int i) throws XMLMiddlewareExceptiontoShort
public static short toShort(Integer i) throws XMLMiddlewareExceptiontoShortObject
public static Short toShortObject(int i) throws XMLMiddlewareExceptiontoShortObject
public static Short toShortObject(Integer i) throws XMLMiddlewareExceptiontoByte
public static byte toByte(int i) throws XMLMiddlewareExceptiontoByte
public static byte toByte(Integer i) throws XMLMiddlewareExceptiontoByteObject
public static Byte toByteObject(int i) throws XMLMiddlewareExceptiontoByteObject
public static Byte toByteObject(Integer i) throws XMLMiddlewareExceptiontoBoolean
public static boolean toBoolean(int i) throws XMLMiddlewareExceptiontoBoolean
public static boolean toBoolean(Integer i) throws XMLMiddlewareExceptiontoBooleanObject
public static Boolean toBooleanObject(int i) throws XMLMiddlewareExceptiontoBooleanObject
public static Boolean toBooleanObject(Integer i) throws XMLMiddlewareException
All Packages Class Hierarchy This Package Previous Next Index