com.caucho.hessian.io
Class CollectionDeserializer

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

public class CollectionDeserializer
extends AbstractListDeserializer

Deserializing a JDK 1.2 Collection.


Field Summary
private  java.lang.Class _type
           
 
Constructor Summary
CollectionDeserializer(java.lang.Class type)
           
 
Method Summary
private  java.util.Collection createList()
           
 java.lang.Class getType()
           
 java.lang.Object readLengthList(AbstractHessianInput in, int length)
           
 java.lang.Object readList(AbstractHessianInput in, int length)
           
 
Methods inherited from class com.caucho.hessian.io.AbstractListDeserializer
readObject
 
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, error, readMap, readObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_type

private java.lang.Class _type
Constructor Detail

CollectionDeserializer

public CollectionDeserializer(java.lang.Class type)
Method Detail

getType

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

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

createList

private java.util.Collection createList()
                                 throws java.io.IOException
Throws:
java.io.IOException