|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Deserializer
Deserializing an object. Custom deserializers should extend from AbstractDeserializer to avoid issues with signature changes.
| Method Summary | |
|---|---|
Object |
createField(String name)
Returns the deserializer's field reader for the given name. |
Object[] |
createFields(int len)
Creates an empty array for the deserializers field entries. |
Class<?> |
getType()
|
boolean |
isReadResolve()
|
Object |
readLengthList(AbstractHessianInput in,
int length)
|
Object |
readList(AbstractHessianInput in,
int length)
|
Object |
readMap(AbstractHessianInput in)
|
Object |
readObject(AbstractHessianInput in)
|
Object |
readObject(AbstractHessianInput in,
Object[] fields)
Reads the object from the input stream, given the field definition. |
Object |
readObject(AbstractHessianInput in,
String[] fieldNames)
|
| Method Detail |
|---|
Class<?> getType()
boolean isReadResolve()
Object readObject(AbstractHessianInput in)
throws IOException
IOException
Object readList(AbstractHessianInput in,
int length)
throws IOException
IOException
Object readLengthList(AbstractHessianInput in,
int length)
throws IOException
IOException
Object readMap(AbstractHessianInput in)
throws IOException
IOExceptionObject[] createFields(int len)
len - number of fields to be read
Object createField(String name)
name - the field name
Object readObject(AbstractHessianInput in,
Object[] fields)
throws IOException
in - the input streamfields - the deserializer's own field marshal
IOException
Object readObject(AbstractHessianInput in,
String[] fieldNames)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||