public interface Deserializer
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createField(java.lang.String name)
Returns the deserializer's field reader for the given name.
|
java.lang.Object[] |
createFields(int len)
Creates an empty array for the deserializers field
entries.
|
java.lang.Class<?> |
getType() |
boolean |
isReadResolve() |
java.lang.Object |
readLengthList(AbstractHessianInput in,
int length) |
java.lang.Object |
readList(AbstractHessianInput in,
int length) |
java.lang.Object |
readMap(AbstractHessianInput in) |
java.lang.Object |
readObject(AbstractHessianInput in) |
java.lang.Object |
readObject(AbstractHessianInput in,
java.lang.Object[] fields)
Reads the object from the input stream, given the field
definition.
|
java.lang.Object |
readObject(AbstractHessianInput in,
java.lang.String[] fieldNames) |
java.lang.Class<?> getType()
boolean isReadResolve()
java.lang.Object readObject(AbstractHessianInput in) throws java.io.IOException
java.io.IOException
java.lang.Object readList(AbstractHessianInput in, int length) throws java.io.IOException
java.io.IOException
java.lang.Object readLengthList(AbstractHessianInput in, int length) throws java.io.IOException
java.io.IOException
java.lang.Object readMap(AbstractHessianInput in) throws java.io.IOException
java.io.IOException
java.lang.Object[] createFields(int len)
len
- number of fields to be readjava.lang.Object createField(java.lang.String name)
name
- the field namejava.lang.Object readObject(AbstractHessianInput in, java.lang.Object[] fields) throws java.io.IOException
in
- the input streamfields
- the deserializer's own field marshaljava.io.IOException
java.lang.Object readObject(AbstractHessianInput in, java.lang.String[] fieldNames) throws java.io.IOException
java.io.IOException