public interface ValueRef
Modifier and Type | Method and Description |
---|---|
void |
accept(ValueVisitor visitor) |
BinaryValue |
asBinary() |
BooleanValue |
asBoolean() |
ExtendedValue |
asExtended() |
FloatValue |
asFloat() |
IntegerValue |
asInteger() |
NilValue |
asNil() |
NumberValue |
asNumber() |
RawValue |
asRaw() |
StringValue |
asString() |
ArrayCursor |
getArrayCursor() |
MapCursor |
getMapCursor() |
ValueType |
getValueType() |
boolean |
isArray() |
boolean |
isBinary() |
boolean |
isBoolean() |
boolean |
isExtended() |
boolean |
isFloat() |
boolean |
isInteger() |
boolean |
isMap() |
boolean |
isNil() |
boolean |
isNumber() |
boolean |
isRaw() |
boolean |
isRef()
Test whether this value is a reference of not.
|
boolean |
isString() |
Value |
toValue()
Create an immutable value from this reference
|
void |
writeTo(MessagePacker packer) |
ValueType getValueType()
NilValue asNil() throws MessageTypeException
MessageTypeException
BooleanValue asBoolean() throws MessageTypeException
MessageTypeException
NumberValue asNumber() throws MessageTypeException
MessageTypeException
IntegerValue asInteger() throws MessageTypeException
MessageTypeException
FloatValue asFloat() throws MessageTypeException
MessageTypeException
BinaryValue asBinary() throws MessageTypeException
MessageTypeException
StringValue asString() throws MessageTypeException
MessageTypeException
RawValue asRaw() throws MessageTypeException
MessageTypeException
ExtendedValue asExtended() throws MessageTypeException
MessageTypeException
ArrayCursor getArrayCursor() throws MessageTypeException
MessageTypeException
MapCursor getMapCursor() throws MessageTypeException
MessageTypeException
boolean isNil()
boolean isBoolean()
boolean isNumber()
boolean isInteger()
boolean isFloat()
boolean isBinary()
boolean isString()
boolean isRaw()
boolean isArray()
boolean isMap()
boolean isExtended()
void writeTo(MessagePacker packer) throws java.io.IOException
java.io.IOException
void accept(ValueVisitor visitor)
Value toValue()
boolean isRef()