org.msgpack.type
Class ValueFactory

java.lang.Object
  extended by org.msgpack.type.ValueFactory

public final class ValueFactory
extends Object


Method Summary
static ArrayValue createArrayValue()
           
static ArrayValue createArrayValue(Value[] array)
           
static ArrayValue createArrayValue(Value[] array, boolean gift)
           
static BooleanValue createBooleanValue(boolean v)
           
static FloatValue createFloatValue(double v)
           
static FloatValue createFloatValue(float v)
           
static IntegerValue createIntegerValue(BigInteger v)
           
static IntegerValue createIntegerValue(byte v)
           
static IntegerValue createIntegerValue(int v)
           
static IntegerValue createIntegerValue(long v)
           
static IntegerValue createIntegerValue(short v)
           
static MapValue createMapValue()
           
static MapValue createMapValue(Value[] kvs)
           
static MapValue createMapValue(Value[] kvs, boolean gift)
           
static NilValue createNilValue()
           
static RawValue createRawValue()
           
static RawValue createRawValue(byte[] b)
           
static RawValue createRawValue(byte[] b, boolean gift)
           
static RawValue createRawValue(byte[] b, int off, int len)
           
static RawValue createRawValue(ByteBuffer bb)
           
static RawValue createRawValue(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createNilValue

public static NilValue createNilValue()

createBooleanValue

public static BooleanValue createBooleanValue(boolean v)

createIntegerValue

public static IntegerValue createIntegerValue(byte v)

createIntegerValue

public static IntegerValue createIntegerValue(short v)

createIntegerValue

public static IntegerValue createIntegerValue(int v)

createIntegerValue

public static IntegerValue createIntegerValue(long v)

createIntegerValue

public static IntegerValue createIntegerValue(BigInteger v)

createFloatValue

public static FloatValue createFloatValue(float v)

createFloatValue

public static FloatValue createFloatValue(double v)

createRawValue

public static RawValue createRawValue()

createRawValue

public static RawValue createRawValue(byte[] b)

createRawValue

public static RawValue createRawValue(byte[] b,
                                      boolean gift)

createRawValue

public static RawValue createRawValue(byte[] b,
                                      int off,
                                      int len)

createRawValue

public static RawValue createRawValue(String s)

createRawValue

public static RawValue createRawValue(ByteBuffer bb)

createArrayValue

public static ArrayValue createArrayValue()

createArrayValue

public static ArrayValue createArrayValue(Value[] array)

createArrayValue

public static ArrayValue createArrayValue(Value[] array,
                                          boolean gift)

createMapValue

public static MapValue createMapValue()

createMapValue

public static MapValue createMapValue(Value[] kvs)

createMapValue

public static MapValue createMapValue(Value[] kvs,
                                      boolean gift)


Copyright © 2011. All Rights Reserved.