public class LocationMarshaller extends 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(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(Location object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public static final LocationMarshaller INSTANCE
public LocationMarshaller()
public Location readPayload(DataInput dataIn) throws IOException
MarshallerreadPayload in interface Marshaller<Location>IOExceptionpublic void writePayload(Location object, DataOutput dataOut) throws IOException
MarshallerwritePayload in interface Marshaller<Location>IOExceptionpublic 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 FuseSource, Corp.. All rights reserved.