public static class BrowserChannel.Value extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BrowserChannel.Value.ValueType
Enum of type tags sent across the wire.
|
public Value()
public Value(Object obj)
public void convertFromJavaValue(Object obj)
obj
- value to convert.public Object convertToJavaType(Class<?> reqType)
reqType
- type to convert topublic boolean getBoolean()
public byte getByte()
public char getChar()
public double getDouble()
public int getInt()
public BrowserChannel.JavaObjectRef getJavaObject()
public BrowserChannel.JsObjectRef getJsObject()
public short getShort()
public String getString()
public BrowserChannel.Value.ValueType getType()
public Object getValue()
public boolean isBoolean()
public boolean isByte()
public boolean isChar()
public boolean isDouble()
public boolean isInt()
public boolean isJavaObject()
public boolean isJsObject()
public boolean isNull()
public boolean isNumber()
public boolean isPrimitive()
public boolean isShort()
public boolean isString()
public boolean isUndefined()
public void setBoolean(boolean val)
public void setByte(byte val)
public void setChar(char val)
public void setDouble(double val)
public void setInt(int val)
public void setJavaObject(BrowserChannel.JavaObjectRef val)
public void setJsObject(BrowserChannel.JsObjectRef val)
public void setLong(long val)
public void setNull()
public void setShort(short val)
public void setString(String val)
public void setUndefined()
Copyright © 2018. All rights reserved.