public class FSTJSonUnmodifiableCollectionSerializer extends FSTCollectionSerializer
| Modifier and Type | Field and Description |
|---|---|
static Class<?> |
UNMODIFIABLE_COLLECTION_CLASS |
static Class<?> |
UNMODIFIABLE_LIST_CLASS |
static Class<?> |
UNMODIFIABLE_RANDOM_ACCESS_LIST_CLASS |
static Class<?> |
UNMODIFIABLE_SET_CLASS |
REALLY_NULL| Constructor and Description |
|---|
FSTJSonUnmodifiableCollectionSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
instantiate(Class objectClass,
FSTObjectInput in,
FSTClazzInfo serializationInfo,
FSTClazzInfo.FSTFieldInfo referencee,
int streamPosition)
return null to delegate object instantiation to FST.
|
void |
writeObject(FSTObjectOutput out,
Object toWrite,
FSTClazzInfo clzInfo,
FSTClazzInfo.FSTFieldInfo referencedBy,
int streamPosition)
write the contents of a given object
|
alwaysCopy, readObject, willHandleClass, writeTupleEndpublic static final Class<?> UNMODIFIABLE_COLLECTION_CLASS
public static final Class<?> UNMODIFIABLE_RANDOM_ACCESS_LIST_CLASS
public static final Class<?> UNMODIFIABLE_SET_CLASS
public static final Class<?> UNMODIFIABLE_LIST_CLASS
public FSTJSonUnmodifiableCollectionSerializer()
public void writeObject(FSTObjectOutput out, Object toWrite, FSTClazzInfo clzInfo, FSTClazzInfo.FSTFieldInfo referencedBy, int streamPosition) throws IOException
FSTObjectSerializerwriteObject in interface FSTObjectSerializerwriteObject in class FSTCollectionSerializerIOExceptionpublic Object instantiate(Class objectClass, FSTObjectInput in, FSTClazzInfo serializationInfo, FSTClazzInfo.FSTFieldInfo referencee, int streamPosition) throws Exception
FSTObjectSerializerinstantiate in interface FSTObjectSerializerinstantiate in class FSTCollectionSerializerExceptionCopyright © 2018. All rights reserved.