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
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
IOException
Object[] 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 marshalIOException
Object readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
IOException
Copyright © 2023. All rights reserved.