public class ExtHolder extends AbstractValueRef implements ExtendedValue
NUMBER_TYPE_MASK, RAW_TYPE_MASK
Constructor and Description |
---|
ExtHolder() |
Modifier and Type | Method and Description |
---|---|
void |
accept(ValueVisitor visitor) |
int |
getExtType() |
ValueType |
getValueType() |
void |
setExtType(int extType,
MessageBuffer buffer) |
byte[] |
toByteArray() |
java.nio.ByteBuffer |
toByteBuffer() |
MessageBuffer |
toMessageBuffer() |
java.lang.String |
toString() |
ExtendedValue |
toValue()
Create an immutable value from this reference
|
void |
writeTo(MessagePacker packer) |
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, isRef, isString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asArrayValue, asMapValue
public void setExtType(int extType, MessageBuffer buffer)
public int getExtType()
getExtType
in interface ExtendedValue
public ValueType getValueType()
getValueType
in interface ValueRef
public void writeTo(MessagePacker packer) throws java.io.IOException
public void accept(ValueVisitor visitor)
public ExtendedValue toValue()
ValueRef
public byte[] toByteArray()
toByteArray
in interface RawValue
public java.nio.ByteBuffer toByteBuffer()
toByteBuffer
in interface RawValue
public MessageBuffer toMessageBuffer()
toMessageBuffer
in interface RawValue
public java.lang.String toString() throws MessageStringCodingException
toString
in interface RawValue
toString
in class java.lang.Object
MessageStringCodingException