public static class Geoshape.GeoshapeSerializer extends Object implements AttributeSerializer<Geoshape>
| Constructor and Description |
|---|
GeoshapeSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Geoshape |
convert(Object value)
Converts the given (not-null) value to the expected datatype V.
|
Geoshape |
read(ScanBuffer buffer)
Reads an attribute from the given ReadBuffer.
|
void |
verifyAttribute(Geoshape value)
Verifies the given (not-null) attribute value is valid.
|
void |
write(WriteBuffer buffer,
Geoshape attribute)
Writes the attribute value to the given WriteBuffer.
|
public void verifyAttribute(Geoshape value)
AttributeSerializerIllegalArgumentException if the value is invalid,
otherwise simply returns.verifyAttribute in interface AttributeSerializer<Geoshape>value - to verifypublic Geoshape convert(Object value)
AttributeSerializerIllegalArgumentException if it cannot be converted.convert in interface AttributeSerializer<Geoshape>value - to convertpublic Geoshape read(ScanBuffer buffer)
AttributeSerializerread in interface AttributeSerializer<Geoshape>buffer - ReadBuffer to read attribute frompublic void write(WriteBuffer buffer, Geoshape attribute)
AttributeSerializerwrite in interface AttributeSerializer<Geoshape>buffer - WriteBuffer to write attribute toattribute - Attribute to write to WriteBufferCopyright © 2012–2015. All rights reserved.