org.msgpack.type
Interface Value

All Known Subinterfaces:
ArrayValue, BooleanValue, MapValue, RawValue
All Known Implementing Classes:
FloatValue, IntegerValue, NilValue, NumberValue

public interface Value


Method Summary
 ArrayValue asArrayValue()
           
 BooleanValue asBooleanValue()
           
 FloatValue asFloatValue()
           
 IntegerValue asIntegerValue()
           
 MapValue asMapValue()
           
 NilValue asNilValue()
           
 RawValue asRawValue()
           
 ValueType getType()
           
 boolean isArrayValue()
           
 boolean isBooleanValue()
           
 boolean isFloatValue()
           
 boolean isIntegerValue()
           
 boolean isMapValue()
           
 boolean isNilValue()
           
 boolean isRawValue()
           
 StringBuilder toString(StringBuilder sb)
           
 void writeTo(Packer pk)
           
 

Method Detail

getType

ValueType getType()

isNilValue

boolean isNilValue()

isBooleanValue

boolean isBooleanValue()

isIntegerValue

boolean isIntegerValue()

isFloatValue

boolean isFloatValue()

isArrayValue

boolean isArrayValue()

isMapValue

boolean isMapValue()

isRawValue

boolean isRawValue()

asNilValue

NilValue asNilValue()

asBooleanValue

BooleanValue asBooleanValue()

asIntegerValue

IntegerValue asIntegerValue()

asFloatValue

FloatValue asFloatValue()

asArrayValue

ArrayValue asArrayValue()

asMapValue

MapValue asMapValue()

asRawValue

RawValue asRawValue()

writeTo

void writeTo(Packer pk)
             throws IOException
Throws:
IOException

toString

StringBuilder toString(StringBuilder sb)


Copyright © 2011. All Rights Reserved.