public class FieldSerializer extends Serializer
| Constructor and Description | 
|---|
FieldSerializer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
checkClass(java.lang.Class clazz)  | 
void | 
initialize(java.lang.Class clazz)
Registration for when a serializer may need to cache something. 
 | 
<T> T | 
readObject(java.nio.ByteBuffer data,
          java.lang.Class<T> c)
Read an object from the buffer, effectively deserializing it. 
 | 
void | 
writeObject(java.nio.ByteBuffer buffer,
           java.lang.Object object)
Write an object to the buffer, effectively serializing it. 
 | 
getExactSerializer, getExactSerializerRegistration, getSerializer, getSerializer, getSerializerRegistration, getSerializerRegistration, getSerializerRegistrations, initialize, isReadOnly, readClass, readClassAndObject, registerClass, registerClass, registerClass, registerClasses, registerClassForId, registerPackage, setReadOnly, setStrictRegistration, writeClass, writeClassAndObjectprotected void checkClass(java.lang.Class clazz)
public void initialize(java.lang.Class clazz)
Serializerinitialize in class Serializerclazz - The class that has been registered to the serializer.public <T> T readObject(java.nio.ByteBuffer data,
                        java.lang.Class<T> c)
                 throws java.io.IOException
SerializerreadObject in class Serializerdata - The buffer to read from.c - The class of the object.java.io.IOException - If deserializing fails.public void writeObject(java.nio.ByteBuffer buffer,
                        java.lang.Object object)
                 throws java.io.IOException
SerializerwriteObject in class Serializerbuffer - The buffer to write to.object - The object to serialize.java.io.IOException - If serializing fails.