public final class MarshallingSupport
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
BIG_STRING_TYPE |
static byte |
BOOLEAN_TYPE |
static byte |
BYTE_ARRAY_TYPE |
static byte |
BYTE_TYPE |
static byte |
CHAR_TYPE |
static byte |
DOUBLE_TYPE |
static byte |
FLOAT_TYPE |
static byte |
INTEGER_TYPE |
static byte |
LIST_TYPE |
static byte |
LONG_TYPE |
static byte |
MAP_TYPE |
static byte |
NULL |
static byte |
SHORT_TYPE |
static byte |
STRING_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static void |
marshalBoolean(org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
boolean value) |
static void |
marshalByte(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
byte value) |
static void |
marshalByteArray(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
byte[] value) |
static void |
marshalByteArray(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
byte[] value,
int offset,
int length) |
static void |
marshalChar(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
char value) |
static void |
marshalDouble(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
double value) |
static void |
marshalFloat(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
float value) |
static void |
marshalInt(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
int value) |
static void |
marshalLong(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
long value) |
static void |
marshalNull(org.fusesource.hawtbuf.DataByteArrayOutputStream out) |
static void |
marshalPrimitive(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
java.lang.Object value) |
static void |
marshalPrimitiveList(java.util.List list,
org.fusesource.hawtbuf.DataByteArrayOutputStream out) |
static void |
marshalPrimitiveMap(java.util.Map map,
org.fusesource.hawtbuf.DataByteArrayOutputStream out) |
static void |
marshalShort(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
short value) |
static void |
marshalString(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
java.lang.String s) |
static java.lang.Object |
unmarshalPrimitive(java.io.DataInputStream in) |
static java.util.List<java.lang.Object> |
unmarshalPrimitiveList(java.io.DataInputStream in) |
static java.util.Map<java.lang.String,java.lang.Object> |
unmarshalPrimitiveMap(java.io.DataInputStream in) |
static java.util.Map<java.lang.String,java.lang.Object> |
unmarshalPrimitiveMap(java.io.DataInputStream in,
int maxPropertySize) |
public static final byte NULL
public static final byte BOOLEAN_TYPE
public static final byte BYTE_TYPE
public static final byte CHAR_TYPE
public static final byte SHORT_TYPE
public static final byte INTEGER_TYPE
public static final byte LONG_TYPE
public static final byte DOUBLE_TYPE
public static final byte FLOAT_TYPE
public static final byte STRING_TYPE
public static final byte BYTE_ARRAY_TYPE
public static final byte MAP_TYPE
public static final byte LIST_TYPE
public static final byte BIG_STRING_TYPE
public static void marshalPrimitiveMap(java.util.Map map,
org.fusesource.hawtbuf.DataByteArrayOutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic static java.util.Map<java.lang.String,java.lang.Object> unmarshalPrimitiveMap(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic static java.util.Map<java.lang.String,java.lang.Object> unmarshalPrimitiveMap(java.io.DataInputStream in,
int maxPropertySize)
throws java.io.IOException
in - java.io.IOExceptionjava.io.IOExceptionpublic static void marshalPrimitiveList(java.util.List list,
org.fusesource.hawtbuf.DataByteArrayOutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic static java.util.List<java.lang.Object> unmarshalPrimitiveList(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalPrimitive(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
java.lang.Object value)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.Object unmarshalPrimitive(java.io.DataInputStream in)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalNull(org.fusesource.hawtbuf.DataByteArrayOutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalBoolean(org.fusesource.hawtbuf.DataByteArrayOutputStream dataOut,
boolean value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalByte(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
byte value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalChar(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
char value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalShort(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
short value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalInt(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
int value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalLong(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
long value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalFloat(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
float value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalDouble(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
double value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalByteArray(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
byte[] value)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalByteArray(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
byte[] value,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionpublic static void marshalString(org.fusesource.hawtbuf.DataByteArrayOutputStream out,
java.lang.String s)
throws java.io.IOException
java.io.IOExceptionCopyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.