public interface FSTObjectSerializer
FSTBasicObjectSerializer
Modifier and Type | Field and Description |
---|---|
static String |
REALLY_NULL |
Modifier and Type | Method and Description |
---|---|
boolean |
alwaysCopy() |
Object |
instantiate(Class objectClass,
FSTObjectInput fstObjectInput,
FSTClazzInfo serializationInfo,
FSTClazzInfo.FSTFieldInfo referencee,
int streamPosition)
return null to delegate object instantiation to FST.
|
void |
readObject(FSTObjectInput in,
Object toRead,
FSTClazzInfo clzInfo,
FSTClazzInfo.FSTFieldInfo referencedBy)
read the content to an already instantiated object
|
boolean |
willHandleClass(Class cl)
useful if you register for a class and its subclasses, but want to exclude a specific subclass
|
void |
writeObject(FSTObjectOutput out,
Object toWrite,
FSTClazzInfo clzInfo,
FSTClazzInfo.FSTFieldInfo referencedBy,
int streamPosition)
write the contents of a given object
|
static final String REALLY_NULL
void writeObject(FSTObjectOutput out, Object toWrite, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy, int streamPosition) throws IOException
IOException
void readObject(FSTObjectInput in, Object toRead, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy) throws Exception
Exception
boolean willHandleClass(Class cl)
boolean alwaysCopy()
Object instantiate(Class objectClass, FSTObjectInput fstObjectInput, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPosition) throws Exception
Exception
Copyright © 2017. All rights reserved.