com.anwrt.commons.hessian.model
Class HessianBoolean

java.lang.Object
  extended by com.anwrt.commons.hessian.model.HessianValue
      extended by com.anwrt.commons.hessian.model.HessianSimple
          extended by com.anwrt.commons.hessian.model.HessianBoolean

public class HessianBoolean
extends HessianSimple

Models a boolean data.
creation : 26 sept. 2008

Author:
David FRANCOIS

Field Summary
static HessianBoolean FALSE
           
static HessianBoolean TRUE
           
 
Constructor Summary
HessianBoolean(boolean value)
           
 
Method Summary
 java.lang.String getTypeString()
           
 boolean getValue()
           
 void render(java.io.OutputStream stream, AwtHessianSerializer ser)
          Renders the HessianValue to the given OutputStream.
static HessianBoolean valueOf(boolean aValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final HessianBoolean TRUE

FALSE

public static final HessianBoolean FALSE
Constructor Detail

HessianBoolean

public HessianBoolean(boolean value)
Method Detail

valueOf

public static HessianBoolean valueOf(boolean aValue)

getValue

public boolean getValue()

getTypeString

public java.lang.String getTypeString()
Overrides:
getTypeString in class HessianValue

render

public void render(java.io.OutputStream stream,
                   AwtHessianSerializer ser)
            throws AwtHessianSerializerException
Description copied from class: HessianValue
Renders the HessianValue to the given OutputStream.

Specified by:
render in class HessianValue
Parameters:
stream - to which to render
ser - an AwtHessianSerializer instance
Throws:
AwtHessianSerializerException