com.anwrt.commons.protocol.serialization.helpers
Class BooleanHelper

java.lang.Object
  extended by com.anwrt.commons.protocol.serialization.helpers.BooleanHelper
All Implemented Interfaces:
Helper, HessianHelper

public class BooleanHelper
extends java.lang.Object
implements HessianHelper

Bools can be directly represented in Hessian. There is a one to one mapping.


Field Summary
static Helper HELPER
           
 
Method Summary
 java.lang.Class getHelpedClass()
           
 HessianValue serialize(java.lang.Object aJavaObject, AwtHessianSerializer aEngine)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HELPER

public static final Helper HELPER
Method Detail

serialize

public HessianValue serialize(java.lang.Object aJavaObject,
                              AwtHessianSerializer aEngine)
                       throws AwtHessianSerializerException
Specified by:
serialize in interface HessianHelper
Throws:
AwtHessianSerializerException

getHelpedClass

public java.lang.Class getHelpedClass()
Specified by:
getHelpedClass in interface Helper