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
IOExceptionvoid readObject(FSTObjectInput in, Object toRead, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy) throws Exception
Exceptionboolean willHandleClass(Class cl)
boolean alwaysCopy()
Object instantiate(Class objectClass, FSTObjectInput fstObjectInput, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPosition) throws Exception
ExceptionCopyright © 2015. All rights reserved.