public abstract class FSTBasicObjectSerializer extends Object implements FSTCrossPlatformSerialzer
REALLY_NULL| Modifier | Constructor and Description |
|---|---|
protected |
FSTBasicObjectSerializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysCopy() |
Object |
instantiate(Class objectClass,
FSTObjectInput in,
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
|
boolean |
writeTupleEnd() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteObjectpublic boolean willHandleClass(Class cl)
FSTObjectSerializerwillHandleClass in interface FSTObjectSerializerpublic void readObject(FSTObjectInput in, Object toRead, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy) throws Exception
FSTObjectSerializerreadObject in interface FSTObjectSerializerExceptionpublic boolean alwaysCopy()
alwaysCopy in interface FSTObjectSerializerpublic Object instantiate(Class objectClass, FSTObjectInput in, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPosition) throws Exception
FSTObjectSerializerinstantiate in interface FSTObjectSerializerExceptionpublic boolean writeTupleEnd()
writeTupleEnd in interface FSTCrossPlatformSerialzerCopyright © 2016. All rights reserved.