All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.ConvertBoolean

java.lang.Object
   |
   +----org.xmlmiddleware.conversions.ConvertBoolean

public class ConvertBoolean
extends Object
Converts from booleans to other data types.

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.

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o ConvertBoolean()

Method Index

 o toBigDecimal(Boolean)
 o toBigDecimal(boolean)
 o toBoolean(Boolean)
 o toBoolean(boolean)
 o toBooleanObject(boolean)
 o toBooleanObject(Boolean)
 o toByte(Boolean)
 o toByte(boolean)
 o toByteObject(Boolean)
 o toByteObject(boolean)
 o toDouble(Boolean)
 o toDouble(boolean)
 o toDoubleObject(Boolean)
 o toDoubleObject(boolean)
 o toFloat(boolean)
 o toFloat(Boolean)
 o toFloatObject(Boolean)
 o toFloatObject(boolean)
 o toInteger(Boolean)
 o toInteger(boolean)
 o toIntegerObject(boolean)
 o toIntegerObject(Boolean)
 o toLong(boolean)
 o toLong(Boolean)
 o toLongObject(Boolean)
 o toLongObject(boolean)
 o toShort(Boolean)
 o toShort(boolean)
 o toShortObject(boolean)
 o toShortObject(Boolean)

Constructors

 o ConvertBoolean
 public ConvertBoolean()

Methods

 o toDouble
 public static double toDouble(boolean b)
 o toDouble
 public static double toDouble(Boolean b)
 o toDoubleObject
 public static Double toDoubleObject(boolean b)
 o toDoubleObject
 public static Double toDoubleObject(Boolean b)
 o toFloat
 public static float toFloat(boolean b)
 o toFloat
 public static float toFloat(Boolean b)
 o toFloatObject
 public static Float toFloatObject(boolean b)
 o toFloatObject
 public static Float toFloatObject(Boolean b)
 o toBigDecimal
 public static BigDecimal toBigDecimal(boolean b)
 o toBigDecimal
 public static BigDecimal toBigDecimal(Boolean b)
 o toLong
 public static long toLong(boolean b)
 o toLong
 public static long toLong(Boolean b)
 o toLongObject
 public static Long toLongObject(boolean b)
 o toLongObject
 public static Long toLongObject(Boolean b)
 o toInteger
 public static int toInteger(boolean b)
 o toInteger
 public static int toInteger(Boolean b)
 o toIntegerObject
 public static Integer toIntegerObject(boolean b)
 o toIntegerObject
 public static Integer toIntegerObject(Boolean b)
 o toShort
 public static short toShort(boolean b)
 o toShort
 public static short toShort(Boolean b)
 o toShortObject
 public static Short toShortObject(boolean b)
 o toShortObject
 public static Short toShortObject(Boolean b)
 o toByte
 public static byte toByte(boolean b)
 o toByte
 public static byte toByte(Boolean b)
 o toByteObject
 public static Byte toByteObject(boolean b)
 o toByteObject
 public static Byte toByteObject(Boolean b)
 o toBoolean
 public static boolean toBoolean(boolean b)
 o toBoolean
 public static boolean toBoolean(Boolean b)
 o toBooleanObject
 public static Boolean toBooleanObject(boolean b)
 o toBooleanObject
 public static Boolean toBooleanObject(Boolean b)

All Packages  Class Hierarchy  This Package  Previous  Next  Index