public class BasicSerializer extends AbstractSerializer implements ObjectSerializer
Modifier and Type | Field and Description |
---|---|
static int |
BOOLEAN |
static int |
BOOLEAN_ARRAY |
static int |
BYTE |
static int |
BYTE_ARRAY |
static int |
BYTE_HANDLE |
static int |
CHARACTER |
static int |
CHARACTER_ARRAY |
static int |
CHARACTER_OBJECT |
static int |
DATE |
static int |
DOUBLE |
static int |
DOUBLE_ARRAY |
static int |
FLOAT |
static int |
FLOAT_ARRAY |
static int |
FLOAT_HANDLE |
static int |
INTEGER |
static int |
INTEGER_ARRAY |
static int |
LONG |
static int |
LONG_ARRAY |
static int |
NULL |
static int |
NUMBER |
static int |
OBJECT |
static int |
OBJECT_ARRAY |
static int |
SHORT |
static int |
SHORT_ARRAY |
static int |
SHORT_HANDLE |
static int |
STRING |
static int |
STRING_ARRAY |
static int |
STRING_BUILDER |
log
Constructor and Description |
---|
BasicSerializer(int code) |
Modifier and Type | Method and Description |
---|---|
Serializer |
getObjectSerializer() |
void |
writeObject(java.lang.Object obj,
AbstractHessianOutput out) |
getClass, writeDefinition20, writeInstance, writeObject10, writeReplace
public static final int NULL
public static final int BOOLEAN
public static final int BYTE
public static final int SHORT
public static final int INTEGER
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int CHARACTER
public static final int CHARACTER_OBJECT
public static final int STRING
public static final int STRING_BUILDER
public static final int DATE
public static final int NUMBER
public static final int OBJECT
public static final int BOOLEAN_ARRAY
public static final int BYTE_ARRAY
public static final int SHORT_ARRAY
public static final int INTEGER_ARRAY
public static final int LONG_ARRAY
public static final int FLOAT_ARRAY
public static final int DOUBLE_ARRAY
public static final int CHARACTER_ARRAY
public static final int STRING_ARRAY
public static final int OBJECT_ARRAY
public static final int BYTE_HANDLE
public static final int SHORT_HANDLE
public static final int FLOAT_HANDLE
public Serializer getObjectSerializer()
getObjectSerializer
in interface ObjectSerializer
public void writeObject(java.lang.Object obj, AbstractHessianOutput out) throws java.io.IOException
writeObject
in interface Serializer
writeObject
in class AbstractSerializer
java.io.IOException