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, wait
convert, verifyAttribute
public Object read(ScanBuffer buffer)
AttributeSerializer
read
in interface AttributeSerializer<Object>
buffer
- ReadBuffer to read attribute frompublic void write(WriteBuffer buffer, Object attribute)
AttributeSerializer
write
in interface AttributeSerializer<Object>
buffer
- WriteBuffer to write attribute toattribute
- Attribute to write to WriteBufferCopyright © 2012–2015. All rights reserved.