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