com.anwrt.commons.hessian.model
Class HessianList

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.HessianList

public class HessianList
extends HessianComplex

Models an ordered list of HessianValue. See hessian specification for a complete grammar
creation : 26 sept. 2008

Author:
David FRANCOIS

Constructor Summary
HessianList()
          Default constructor
 
Method Summary
 void add(HessianValue aVal)
           
 java.lang.String getTypeString()
           
 boolean isVariable()
           
 java.util.Iterator iterator()
           
 void render(java.io.OutputStream os, AwtHessianSerializer ser)
          Renders the HessianValue to the given OutputStream.
 void setVariable(boolean variable)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianList

public HessianList()
Default constructor

Method Detail

add

public void add(HessianValue aVal)

iterator

public java.util.Iterator iterator()

isVariable

public boolean isVariable()

setVariable

public void setVariable(boolean variable)

size

public int size()

getTypeString

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

render

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

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