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

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

Introduction

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

The text is from its open source code.

Method

Objectcall(final Object thiz, final Object... args)
ObjectcallMember(final String functionName, final Object... args)
Call member function
booleancontainsKey(final Object key)
booleandelete(final Object key)
Delete a property from this object.
Set>entrySet()
booleanequals(final Object other)
Objectget(final Object key)
StringgetClassName()
ObjectgetMember(final String name)
String[]getOwnKeys(final boolean all)
return an array of own property keys associated with the object.
ObjectgetSlot(final int index)
booleanhasMember(final String name)
booleanisArray()
booleanisEmpty()
booleanisFunction()
booleanisInstanceOf(final Object clazz)
booleanisUndefined(final Object obj)
Utility to check if given object is ECMAScript undefined value
SetkeySet()
Objectput(final String key, final Object value)
voidsetIndexedPropertiesToExternalArrayData(final ByteBuffer buf)
Nashorn extension: setIndexedPropertiesToExternalArrayData.
intsize()
Tto(final Class type)
Utility to convert this script object to the given type.
StringtoString()
Objectunwrap(final Object obj, final Object homeGlobal)
Unwrap a script object mirror if needed.
Collectionvalues()
Objectwrap(final Object obj, final Object homeGlobal)
Make a script object mirror on given object if needed.
ObjectwrapAsJSONCompatible(final Object obj, final Object homeGlobal)
Make a script object mirror on given object if needed.