org.asnlab.asndt.runtime.conv
Class BooleanConverter

java.lang.Object
  extended by org.asnlab.asndt.runtime.conv.AsnConverter
      extended by org.asnlab.asndt.runtime.conv.BooleanConverter

public class BooleanConverter
extends AsnConverter

The BooleanConverter can convert boolean value object to/from boolean value.


Field Summary
static java.lang.Boolean FALSE
           
static BooleanConverter INSTANCE
           
static java.lang.Boolean TRUE
           
 
Constructor Summary
BooleanConverter()
           
 
Method Summary
 java.lang.Object toObject(boolean value)
          Return the boolean value object
 boolean toValue(java.lang.Object object)
          Return the boolean value
 
Methods inherited from class org.asnlab.asndt.runtime.conv.AsnConverter
convert, convert, convert, convert, createAsnConverterConverter, createAsnConverterType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final BooleanConverter INSTANCE

TRUE

public static final java.lang.Boolean TRUE

FALSE

public static final java.lang.Boolean FALSE
Constructor Detail

BooleanConverter

public BooleanConverter()
Method Detail

toValue

public boolean toValue(java.lang.Object object)
Return the boolean value


toObject

public java.lang.Object toObject(boolean value)
Return the boolean value object



Copyright �2009-2012 ASN Lab