public interface FSTObjectSerializer
FSTBasicObjectSerializer| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysCopy() |
Object |
instantiate(Class objectClass,
FSTObjectInput fstObjectInput,
FSTClazzInfo serializationInfo,
FSTClazzInfo.FSTFieldInfo referencee,
int streamPositioin)
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
|
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 IOException, ClassNotFoundException, IllegalAccessException, InstantiationException
boolean willHandleClass(Class cl)
boolean alwaysCopy()
Object instantiate(Class objectClass, FSTObjectInput fstObjectInput, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPositioin) throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException
Copyright © 2014. All rights reserved.