com.anwrt.commons.hessian.model
Class HessianMap

java.lang.Object
  extended by com.anwrt.commons.hessian.model.HessianValue
      extended by com.anwrt.commons.hessian.model.HessianComplex
          extended by com.anwrt.commons.hessian.model.HessianMap

public class HessianMap
extends HessianComplex

Models a map of HessianValue keys and values.
creation : 26 sept. 2008

Author:
David FRANCOIS

Constructor Summary
HessianMap()
           
 
Method Summary
 boolean containsKey(HessianValue aKey)
           
 HessianValue get(HessianValue aKey)
           
 java.lang.String getTypeString()
           
 java.util.Iterator keys()
           
 void put(HessianValue aKey, HessianValue aVal)
           
 void render(java.io.OutputStream stream, AwtHessianSerializer ser)
          Renders the HessianValue to the given OutputStream.
 int size()
           
 java.util.Iterator values()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianMap

public HessianMap()
Method Detail

put

public void put(HessianValue aKey,
                HessianValue aVal)

containsKey

public boolean containsKey(HessianValue aKey)

get

public HessianValue get(HessianValue aKey)

keys

public java.util.Iterator keys()

values

public java.util.Iterator values()

size

public int size()

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