public interface JsObject extends JsValue
null
value while officially being 'object' in the SDK is represented as a plain JsValue
.JsValue.ReloadBiggerCallback, JsValue.Type
Modifier and Type | Method and Description |
---|---|
JsArray |
asArray() |
JsFunction |
asFunction() |
java.lang.String |
getClassName() |
java.util.Collection<? extends JsVariable> |
getInternalProperties() |
java.util.Collection<? extends JsObjectProperty> |
getProperties() |
JsVariable |
getProperty(java.lang.String name) |
java.lang.String |
getRefId()
Optionally returns unique id for this object.
|
RemoteValueMapping |
getRemoteValueMapping() |
asObject, getType, getValueString, isTruncated, reloadHeavyValue
java.lang.String getClassName()
java.util.Collection<? extends JsObjectProperty> getProperties() throws MethodIsBlockingException
MethodIsBlockingException
- because it may need to load value from remotejava.util.Collection<? extends JsVariable> getInternalProperties() throws MethodIsBlockingException
MethodIsBlockingException
- because it may need to load value from remoteJsVariable getProperty(java.lang.String name) throws MethodIsBlockingException
name
- of the property to getnull
if name
does not
designate an existing object property (does not return
properties from proto object)MethodIsBlockingException
- because it may need to load value from remoteJsArray asArray()
JsArray
or null
if this object
is not an arrayJsFunction asFunction()
JsFunction
or null
if this object
is not a functionjava.lang.String getRefId()
RemoteValueMapping
(typically corresponds
to the lifetime of DebugContext
.)getRemoteValueMapping()
RemoteValueMapping getRemoteValueMapping()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.