Table of Contents

Class ScriptEngineFactory

Namespace
Javax.Script
Assembly
MASES.JNet.dll
public class ScriptEngineFactory : JVMBridgeBase<ScriptEngineFactory>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IScriptEngineFactory
Inheritance
ScriptEngineFactory
Implements
Inherited Members
Extension Methods

Constructors

ScriptEngineFactory()

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

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

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EngineName

public String EngineName { get; }

Property Value

String

EngineVersion

public String EngineVersion { get; }

Property Value

String

Extensions

public List<String> Extensions { get; }

Property Value

List<String>

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

LanguageName

public String LanguageName { get; }

Property Value

String

LanguageVersion

public String LanguageVersion { get; }

Property Value

String

MimeTypes

public List<String> MimeTypes { get; }

Property Value

List<String>

Names

public List<String> Names { get; }

Property Value

List<String>

ScriptEngine

public ScriptEngine ScriptEngine { get; }

Property Value

ScriptEngine

Methods

GetMethodCallSyntax(String, String, params String[])

public String GetMethodCallSyntax(String arg0, String arg1, params String[] arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 String[]

String

Returns

String

String

GetOutputStatement(String)

public String GetOutputStatement(String arg0)

Parameters

arg0 String

String

Returns

String

String

GetParameter(String)

public object GetParameter(String arg0)

Parameters

arg0 String

String

Returns

object

object

GetProgram(params String[])

public String GetProgram(params String[] arg0)

Parameters

arg0 String[]

String

Returns

String

String