com.caucho.hessian.io
Class BeanDeserializer

java.lang.Object
  extended by com.caucho.hessian.io.AbstractDeserializer
      extended by com.caucho.hessian.io.AbstractMapDeserializer
          extended by com.caucho.hessian.io.BeanDeserializer
All Implemented Interfaces:
Deserializer

public class BeanDeserializer
extends AbstractMapDeserializer

Serializing an object for known object types.


Field Summary
 
Fields inherited from class com.caucho.hessian.io.AbstractDeserializer
NULL
 
Constructor Summary
BeanDeserializer(Class cl)
           
 
Method Summary
protected  HashMap getMethodMap(Class cl)
          Creates a map of the classes fields.
protected static Object getParamArg(Class cl)
          Creates a map of the classes fields.
protected  Method getReadResolve(Class cl)
          Returns the readResolve method
 Class getType()
           
protected  Object instantiate()
           
 Object readMap(AbstractHessianInput in)
           
 Object readMap(AbstractHessianInput in, Object obj)
           
 
Methods inherited from class com.caucho.hessian.io.AbstractMapDeserializer
readObject
 
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, createField, createFields, error, isReadResolve, readLengthList, readList, readObject, readObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanDeserializer

public BeanDeserializer(Class cl)
Method Detail

getType

public Class getType()
Specified by:
getType in interface Deserializer
Overrides:
getType in class AbstractMapDeserializer

readMap

public Object readMap(AbstractHessianInput in)
               throws IOException
Specified by:
readMap in interface Deserializer
Overrides:
readMap in class AbstractDeserializer
Throws:
IOException

readMap

public Object readMap(AbstractHessianInput in,
                      Object obj)
               throws IOException
Throws:
IOException

instantiate

protected Object instantiate()
                      throws Exception
Throws:
Exception

getReadResolve

protected Method getReadResolve(Class cl)
Returns the readResolve method


getMethodMap

protected HashMap getMethodMap(Class cl)
Creates a map of the classes fields.


getParamArg

protected static Object getParamArg(Class cl)
Creates a map of the classes fields.



Copyright © 2013. All Rights Reserved.