Table of Contents

Class ScriptContext

Namespace
Javax.Script
Assembly
MASES.JNet.dll
public class ScriptContext : JVMBridgeBase<ScriptContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IScriptContext
Inheritance
JVMBridgeBase
JVMBridgeBase<ScriptContext>
ScriptContext
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<ScriptContext>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ScriptContext>.IsAssignableFrom<T>()
JVMBridgeBase<ScriptContext>.Execute<T>(params T[])
JVMBridgeBase<ScriptContext>.DynBridgeClazz
JVMBridgeBase<ScriptContext>.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

ScriptContext()

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

[Obsolete("ScriptContext 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 ScriptContext()

ScriptContext(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("ScriptContext 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 ScriptContext(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ENGINE_SCOPE

public static int ENGINE_SCOPE { get; }

Property Value

int

ErrorWriter

public Writer ErrorWriter { get; set; }

Property Value

Writer

GLOBAL_SCOPE

public static int GLOBAL_SCOPE { get; }

Property Value

int

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

Reader

public Reader Reader { get; set; }

Property Value

Reader

Scopes

public List<Integer> Scopes { get; }

Property Value

List<Integer>

Writer

public Writer Writer { get; set; }

Property Value

Writer

Methods

GetAttribute(String)

public object GetAttribute(String arg0)

Parameters

arg0 String

String

Returns

object

object

GetAttribute(String, int)

public object GetAttribute(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

object

object

GetAttributesScope(String)

public int GetAttributesScope(String arg0)

Parameters

arg0 String

String

Returns

int

int

GetBindings(int)

public Bindings GetBindings(int arg0)

Parameters

arg0 int

int

Returns

Bindings

Bindings

RemoveAttribute(String, int)

public object RemoveAttribute(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

object

object

SetAttribute(String, object, int)

public void SetAttribute(String arg0, object arg1, int arg2)

Parameters

arg0 String

String

arg1 object

object

arg2 int

int

SetBindings(Bindings, int)

public void SetBindings(Bindings arg0, int arg1)

Parameters

arg0 Bindings

Bindings

arg1 int

int