public class DefaultMarshaller extends java.lang.Object implements Marshaller<java.lang.Object>
| Modifier and Type | Field and Description |
|---|---|
static DefaultMarshaller |
INSTANCE |
| Constructor and Description |
|---|
DefaultMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(byte[] bytes) |
byte[] |
serialize(java.lang.Object object) |
public static final DefaultMarshaller INSTANCE
public byte[] serialize(java.lang.Object object)
throws java.io.IOException
serialize in interface Marshaller<java.lang.Object>java.io.IOExceptionpublic java.lang.Object deserialize(byte[] bytes)
throws java.io.IOException
deserialize in interface Marshaller<java.lang.Object>java.io.IOException