public class LocationMarshaller extends java.lang.Object implements Marshaller<Location>
Modifier and Type | Field and Description |
---|---|
static LocationMarshaller |
INSTANCE |
Constructor and Description |
---|
LocationMarshaller() |
Modifier and Type | Method and Description |
---|---|
Location |
deepCopy(Location source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
Location |
readPayload(java.io.DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(Location object,
java.io.DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public static final LocationMarshaller INSTANCE
public LocationMarshaller()
public Location readPayload(java.io.DataInput dataIn) throws java.io.IOException
Marshaller
readPayload
in interface Marshaller<Location>
java.io.IOException
public void writePayload(Location object, java.io.DataOutput dataOut) throws java.io.IOException
Marshaller
writePayload
in interface Marshaller<Location>
java.io.IOException
public int getFixedSize()
getFixedSize
in interface Marshaller<Location>
public Location deepCopy(Location source)
deepCopy
in interface Marshaller<Location>
public boolean isDeepCopySupported()
isDeepCopySupported
in interface Marshaller<Location>
Marshaller.deepCopy(Object)
operations is supported.Copyright © 2005-2017. All Rights Reserved.