|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.hessian.io.AbstractDeserializer
com.caucho.hessian.io.AbstractMapDeserializer
com.caucho.hessian.io.JavaDeserializer
public class JavaDeserializer
Serializing an object for known object types.
| Field Summary |
|---|
| Fields inherited from class com.caucho.hessian.io.AbstractDeserializer |
|---|
NULL |
| Constructor Summary | |
|---|---|
JavaDeserializer(Class<?> cl)
|
|
| Method Summary | |
|---|---|
Object |
createField(String name)
Creates a field value class. |
Object[] |
createFields(int len)
Creates the field array for a class. |
protected HashMap<String,com.caucho.hessian.io.JavaDeserializer.FieldDeserializer> |
getFieldMap(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()
|
boolean |
isReadResolve()
|
Object |
readMap(AbstractHessianInput in)
|
Object |
readMap(AbstractHessianInput in,
Object obj)
|
Object |
readObject(AbstractHessianInput in,
Object[] fields)
Reads an object instance from the input stream |
Object |
readObject(AbstractHessianInput in,
Object obj,
String[] fieldNames)
|
Object |
readObject(AbstractHessianInput in,
String[] fieldNames)
|
protected Object |
resolve(AbstractHessianInput in,
Object obj)
|
| Methods inherited from class com.caucho.hessian.io.AbstractMapDeserializer |
|---|
readObject |
| Methods inherited from class com.caucho.hessian.io.AbstractDeserializer |
|---|
codeName, error, readLengthList, readList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaDeserializer(Class<?> cl)
| Method Detail |
|---|
public Class<?> getType()
getType in interface DeserializergetType in class AbstractMapDeserializerpublic boolean isReadResolve()
isReadResolve in interface DeserializerisReadResolve in class AbstractDeserializer
public Object readMap(AbstractHessianInput in)
throws IOException
readMap in interface DeserializerreadMap in class AbstractDeserializerIOExceptionpublic Object[] createFields(int len)
AbstractDeserializer
createFields in interface DeserializercreateFields in class AbstractDeserializerlen - number of items in the array
public Object createField(String name)
AbstractDeserializer
createField in interface DeserializercreateField in class AbstractDeserializername - the field name
public Object readObject(AbstractHessianInput in,
Object[] fields)
throws IOException
AbstractDeserializer
readObject in interface DeserializerreadObject in class AbstractDeserializerin - the input streamfields - the deserializer's own field marshal
IOException
public Object readObject(AbstractHessianInput in,
String[] fieldNames)
throws IOException
readObject in interface DeserializerreadObject in class AbstractDeserializerIOExceptionprotected Method getReadResolve(Class<?> cl)
public Object readMap(AbstractHessianInput in,
Object obj)
throws IOException
IOException
public Object readObject(AbstractHessianInput in,
Object obj,
String[] fieldNames)
throws IOException
IOException
protected Object resolve(AbstractHessianInput in,
Object obj)
throws Exception
Exception
protected Object instantiate()
throws Exception
Exceptionprotected HashMap<String,com.caucho.hessian.io.JavaDeserializer.FieldDeserializer> getFieldMap(Class cl)
protected static Object getParamArg(Class<?> cl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||