org.msgpack.value.impl
Class ExtendedValueImpl
java.lang.Object
org.msgpack.value.impl.AbstractValueRef
org.msgpack.value.impl.AbstractValue
org.msgpack.value.impl.RawValueImpl
org.msgpack.value.impl.ExtendedValueImpl
- All Implemented Interfaces:
- ExtendedValue, RawValue, Value, ValueRef
public class ExtendedValueImpl
- extends RawValueImpl
- implements ExtendedValue
Extended value implementation
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.msgpack.value.ValueRef |
asBinary, asBoolean, asExtended, asFloat, asInteger, asNil, asNumber, asRaw, asString, getArrayCursor, getMapCursor, isArray, isBinary, isBoolean, isExtended, isFloat, isInteger, isMap, isNil, isNumber, isRaw, isRef, isString |
ExtendedValueImpl
public ExtendedValueImpl(int type,
java.nio.ByteBuffer data)
getValueType
public ValueType getValueType()
- Specified by:
getValueType
in interface ValueRef
writeTo
public void writeTo(MessagePacker packer)
throws java.io.IOException
- Specified by:
writeTo
in interface ValueRef
- Overrides:
writeTo
in class RawValueImpl
- Throws:
java.io.IOException
accept
public void accept(ValueVisitor visitor)
- Specified by:
accept
in interface ValueRef
toValue
public ExtendedValue toValue()
- Description copied from interface:
ValueRef
- Create an immutable value from this reference
- Specified by:
toValue
in interface ExtendedValue
- Specified by:
toValue
in interface RawValue
- Specified by:
toValue
in interface ValueRef
- Overrides:
toValue
in class RawValueImpl
- Returns:
getExtType
public int getExtType()
- Specified by:
getExtType
in interface ExtendedValue