org.msgpack.value.impl
Class AbstractValue

java.lang.Object
  extended by org.msgpack.value.impl.AbstractValueRef
      extended by org.msgpack.value.impl.AbstractValue
All Implemented Interfaces:
Value, ValueRef
Direct Known Subclasses:
ArrayValueImpl, BigIntegerValueImpl, BooleanValueImpl, DoubleValueImpl, FloatValueImpl, IntegerValueImpl, LongValueImpl, MapValueImpl, NilValueImpl, RawValueImpl, StringValueImpl

public abstract class AbstractValue
extends AbstractValueRef
implements Value

Base implementation of MessagePackValue


Field Summary
 
Fields inherited from class org.msgpack.value.impl.AbstractValueRef
NUMBER_TYPE_MASK, RAW_TYPE_MASK
 
Constructor Summary
AbstractValue()
           
 
Method Summary
 boolean isRef()
          Test whether this value is a reference of not.
 
Methods inherited from class org.msgpack.value.impl.AbstractValueRef
as, as, asArrayValue, asBinary, asBoolean, asExtended, asFloat, asInteger, asMapValue, asNil, asNumber, asRaw, asString, getArrayCursor, getMapCursor, isArray, isBinary, isBoolean, isExtended, isFloat, isInteger, isMap, isNil, isNumber, isRaw, isString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.msgpack.value.Value
asArrayValue, asMapValue
 
Methods inherited from interface org.msgpack.value.ValueRef
accept, asBinary, asBoolean, asExtended, asFloat, asInteger, asNil, asNumber, asRaw, asString, getArrayCursor, getMapCursor, getValueType, isArray, isBinary, isBoolean, isExtended, isFloat, isInteger, isMap, isNil, isNumber, isRaw, isString, toValue, writeTo
 

Constructor Detail

AbstractValue

public AbstractValue()
Method Detail

isRef

public boolean isRef()
Description copied from interface: ValueRef
Test whether this value is a reference of not.

Specified by:
isRef in interface ValueRef
Overrides:
isRef in class AbstractValueRef
Returns:
true if this value is reference, otherwise false.