com.caucho.hessian.io
Class ObjectDeserializer

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

public class ObjectDeserializer
extends AbstractDeserializer

Serializing an object for known object types.


Constructor Summary
ObjectDeserializer(java.lang.Class cl)
           
 
Method Summary
 java.lang.Class getType()
           
 java.lang.Object readLengthList(AbstractHessianInput in, int length)
           
 java.lang.Object readList(AbstractHessianInput in, int length)
           
 java.lang.Object readObject(AbstractHessianInput in)
           
 java.lang.Object readObject(AbstractHessianInput in, java.lang.String[] fieldNames)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, error, readMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectDeserializer

public ObjectDeserializer(java.lang.Class cl)
Method Detail

getType

public java.lang.Class getType()
Specified by:
getType in interface Deserializer
Overrides:
getType in class AbstractDeserializer

readObject

public java.lang.Object readObject(AbstractHessianInput in)
                            throws java.io.IOException
Specified by:
readObject in interface Deserializer
Overrides:
readObject in class AbstractDeserializer
Throws:
java.io.IOException

readObject

public java.lang.Object readObject(AbstractHessianInput in,
                                   java.lang.String[] fieldNames)
                            throws java.io.IOException
Specified by:
readObject in interface Deserializer
Overrides:
readObject in class AbstractDeserializer
Throws:
java.io.IOException

readList

public java.lang.Object readList(AbstractHessianInput in,
                                 int length)
                          throws java.io.IOException
Specified by:
readList in interface Deserializer
Overrides:
readList in class AbstractDeserializer
Throws:
java.io.IOException

readLengthList

public java.lang.Object readLengthList(AbstractHessianInput in,
                                       int length)
                                throws java.io.IOException
Specified by:
readLengthList in interface Deserializer
Overrides:
readLengthList in class AbstractDeserializer
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.