public class AbstractDeserializer extends Object implements Deserializer
| Modifier and Type | Field and Description |
|---|---|
static com.caucho.hessian.io.AbstractDeserializer.NullDeserializer |
NULL |
| Constructor and Description |
|---|
AbstractDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
codeName(int ch) |
Object |
createField(String name)
Creates a field value class.
|
Object[] |
createFields(int len)
Creates the field array for a class.
|
protected HessianProtocolException |
error(String msg) |
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 an object instance from the input stream
|
Object |
readObject(AbstractHessianInput in,
String[] fieldNames) |
public static final com.caucho.hessian.io.AbstractDeserializer.NullDeserializer NULL
public Class<?> getType()
getType in interface Deserializerpublic boolean isReadResolve()
isReadResolve in interface Deserializerpublic Object readObject(AbstractHessianInput in) throws IOException
readObject in interface DeserializerIOExceptionpublic Object readList(AbstractHessianInput in, int length) throws IOException
readList in interface DeserializerIOExceptionpublic Object readLengthList(AbstractHessianInput in, int length) throws IOException
readLengthList in interface DeserializerIOExceptionpublic Object readMap(AbstractHessianInput in) throws IOException
readMap in interface DeserializerIOExceptionpublic Object[] createFields(int len)
createFields in interface Deserializerlen - number of items in the arraypublic Object createField(String name)
createField in interface Deserializerlen - number of items in the arraypublic Object readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
readObject in interface DeserializerIOExceptionpublic Object readObject(AbstractHessianInput in, Object[] fields) throws IOException
readObject in interface Deserializerin - the input streamfields - the deserializer's own field marshalIOExceptionprotected HessianProtocolException error(String msg)
protected String codeName(int ch)
Copyright © 2017 Caucho Technology, Inc. All rights reserved.