public class ObjectSerializer extends Object implements AttributeSerializer<Object>
| Constructor and Description |
|---|
ObjectSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
read(ScanBuffer buffer)
Reads an attribute from the given ReadBuffer.
|
void |
write(WriteBuffer buffer,
Object attribute)
Writes the attribute value to the given WriteBuffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, verifyAttributepublic Object read(ScanBuffer buffer)
AttributeSerializerread in interface AttributeSerializer<Object>buffer - ReadBuffer to read attribute frompublic void write(WriteBuffer buffer, Object attribute)
AttributeSerializerwrite in interface AttributeSerializer<Object>buffer - WriteBuffer to write attribute toattribute - Attribute to write to WriteBufferCopyright © 2012–2015. All rights reserved.