Table of Contents

Class ScriptEngine

Namespace
Javax.Script
Assembly
MASES.JNet.dll
public class ScriptEngine : JVMBridgeBase<ScriptEngine>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IScriptEngine
Inheritance
JVMBridgeBase
JVMBridgeBase<ScriptEngine>
ScriptEngine
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<ScriptEngine>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ScriptEngine>.IsAssignableFrom<T>()
JVMBridgeBase<ScriptEngine>.Execute<T>(params T[])
JVMBridgeBase<ScriptEngine>.DynBridgeClazz
JVMBridgeBase<ScriptEngine>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ScriptEngine()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("ScriptEngine class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ScriptEngine()

ScriptEngine(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("ScriptEngine class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ScriptEngine(params object[] args)

Parameters

args object[]

Properties

ARGV

public static String ARGV { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Context

public ScriptContext Context { get; set; }

Property Value

ScriptContext

ENGINE

public static String ENGINE { get; }

Property Value

String

ENGINE_VERSION

public static String ENGINE_VERSION { get; }

Property Value

String

FILENAME

public static String FILENAME { get; }

Property Value

String

Factory

public ScriptEngineFactory Factory { get; }

Property Value

ScriptEngineFactory

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LANGUAGE

public static String LANGUAGE { get; }

Property Value

String

LANGUAGE_VERSION

public static String LANGUAGE_VERSION { get; }

Property Value

String

NAME

public static String NAME { get; }

Property Value

String

Methods

CreateBindings()

public Bindings CreateBindings()

Returns

Bindings

Bindings

Eval(Reader)

public object Eval(Reader arg0)

Parameters

arg0 Reader

Reader

Returns

object

object

Exceptions

ScriptException

Eval(Reader, Bindings)

public object Eval(Reader arg0, Bindings arg1)

Parameters

arg0 Reader

Reader

arg1 Bindings

Bindings

Returns

object

object

Exceptions

ScriptException

Eval(Reader, ScriptContext)

public object Eval(Reader arg0, ScriptContext arg1)

Parameters

arg0 Reader

Reader

arg1 ScriptContext

ScriptContext

Returns

object

object

Exceptions

ScriptException

Eval(String)

public object Eval(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

ScriptException

Eval(String, Bindings)

public object Eval(String arg0, Bindings arg1)

Parameters

arg0 String

String

arg1 Bindings

Bindings

Returns

object

object

Exceptions

ScriptException

Eval(String, ScriptContext)

public object Eval(String arg0, ScriptContext arg1)

Parameters

arg0 String

String

arg1 ScriptContext

ScriptContext

Returns

object

object

Exceptions

ScriptException

Get(String)

public object Get(String arg0)

Parameters

arg0 String

String

Returns

object

object

GetBindings(int)

public Bindings GetBindings(int arg0)

Parameters

arg0 int

int

Returns

Bindings

Bindings

Put(String, object)

public void Put(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

SetBindings(Bindings, int)

public void SetBindings(Bindings arg0, int arg1)

Parameters

arg0 Bindings

Bindings

arg1 int

int