Java jdk.nashorn.api.scripting JSObject fields, constructors, methods, implement or subclass

Example usage for Java jdk.nashorn.api.scripting JSObject fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for jdk.nashorn.api.scripting JSObject.

The text is from its open source code.

Implementation

jdk.nashorn.api.scripting.JSObject has the following implementations.
Click this link to see all its implementation.

Method

Objectcall(final Object thiz, final Object... args)
Call this object as a JavaScript function.
ObjectgetMember(final String name)
Retrieves a named member of this JavaScript object.
ObjectgetSlot(final int index)
Retrieves an indexed member of this JavaScript object.
booleanhasMember(final String name)
Does this object have a named member?
booleanhasSlot(final int slot)
Does this object have a indexed property?
booleanisArray()
Is this an array object?
booleanisFunction()
Is this a function object?
SetkeySet()
Returns the set of all property names of this object.
voidsetMember(final String name, final Object value)
Set a named member in this JavaScript object
Collectionvalues()
Returns the set of all property values of this object.