public interface JsValue
In some backends values (currently only strings) are loaded with a size limit.
The value part that exceeds the limit is truncated. The full value
can be loaded by reloadHeavyValue(org.eclipse.wst.jsdt.chromium.JsValue.ReloadBiggerCallback, org.eclipse.wst.jsdt.chromium.SyncCallback)
method.
Modifier and Type | Interface and Description |
---|---|
static interface |
JsValue.ReloadBiggerCallback |
static class |
JsValue.Type
Type of a JavaScript value.
|
Modifier and Type | Method and Description |
---|---|
JsObject |
asObject()
Return this value cast to
JsObject or null if this value
is not an object. |
JsValue.Type |
getType() |
java.lang.String |
getValueString() |
boolean |
isTruncated() |
RelayOk |
reloadHeavyValue(JsValue.ReloadBiggerCallback callback,
SyncCallback syncCallback)
Asynchronously reloads object value with extended size limit.
|
JsValue.Type getType()
java.lang.String getValueString()
JsObject asObject()
JsObject
or null
if this value
is not an object.
See JsValue.Type.isObjectType(org.eclipse.wst.jsdt.chromium.JsValue.Type)
method for details.boolean isTruncated()
RelayOk reloadHeavyValue(JsValue.ReloadBiggerCallback callback, SyncCallback syncCallback)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.