public interface Deserializer
| Modifier and Type | Method and Description |
|---|---|
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) |
Class<?> getType()
boolean isReadResolve()
Object readObject(AbstractHessianInput in) throws IOException
IOExceptionObject readList(AbstractHessianInput in, int length) throws IOException
IOExceptionObject readLengthList(AbstractHessianInput in, int length) throws IOException
IOExceptionObject readMap(AbstractHessianInput in) throws IOException
IOExceptionObject[] createFields(int len)
len - number of fields to be readObject createField(String name)
name - the field nameObject readObject(AbstractHessianInput in, Object[] fields) throws IOException
in - the input streamfields - the deserializer's own field marshalIOExceptionObject readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
IOExceptionCopyright © 2017 Caucho Technology, Inc. All rights reserved.