All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----org.xmlmiddleware.conversions.ConvertBigDecimal
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 ConvertBigDecimal()
public static double toDouble(BigDecimal b) throws XMLMiddlewareExceptiontoDoubleObject
public static Double toDoubleObject(BigDecimal b) throws XMLMiddlewareExceptiontoFloat
public static float toFloat(BigDecimal b) throws XMLMiddlewareExceptiontoFloatObject
public static Float toFloatObject(BigDecimal b) throws XMLMiddlewareExceptiontoBigDecimal
public static BigDecimal toBigDecimal(BigDecimal b)toLong
public static long toLong(BigDecimal b) throws XMLMiddlewareExceptiontoLongObject
public static Long toLongObject(BigDecimal b) throws XMLMiddlewareExceptiontoInteger
public static int toInteger(BigDecimal b) throws XMLMiddlewareExceptiontoIntegerObject
public static Integer toIntegerObject(BigDecimal b) throws XMLMiddlewareExceptiontoShort
public static short toShort(BigDecimal b) throws XMLMiddlewareExceptiontoShortObject
public static Short toShortObject(BigDecimal b) throws XMLMiddlewareExceptiontoByte
public static byte toByte(BigDecimal b) throws XMLMiddlewareExceptiontoByteObject
public static Byte toByteObject(BigDecimal b) throws XMLMiddlewareExceptiontoBoolean
public static boolean toBoolean(BigDecimal b) throws XMLMiddlewareExceptiontoBooleanObject
public static Boolean toBooleanObject(BigDecimal b) throws XMLMiddlewareException
All Packages Class Hierarchy This Package Previous Next Index