public class VsaEngine extends BaseVsaEngine
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.JScript.Vsa.VsaEngine
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.JScript
|
static java.lang.String |
className
Qualified class name: Microsoft.JScript.Vsa.VsaEngine
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
VsaEngine() |
VsaEngine(boolean fast) |
VsaEngine(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static VsaEngine |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into VsaEngine, a cast assert is made to check if types are compatible. |
IJSVsaEngine |
Clone(AppDomain domain) |
boolean |
CompileEmpty() |
void |
ConnectEvents() |
static VsaEngine |
CreateEngine() |
static GlobalScope |
CreateEngineAndGetGlobalScope(boolean dupParam0,
JCORefOut dupParam1) |
static GlobalScope |
CreateEngineAndGetGlobalScope(boolean fast,
java.lang.String[] assemblyNames) |
static GlobalScope |
CreateEngineAndGetGlobalScopeWithType(boolean dupParam0,
JCORefOut dupParam1,
RuntimeTypeHandle dupParam2) |
static GlobalScope |
CreateEngineAndGetGlobalScopeWithType(boolean fast,
java.lang.String[] assemblyNames,
RuntimeTypeHandle callingTypeHandle) |
static GlobalScope |
CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(boolean dupParam0,
JCORefOut dupParam1,
RuntimeTypeHandle dupParam2,
java.lang.String dupParam3) |
static GlobalScope |
CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(boolean fast,
java.lang.String[] assemblyNames,
RuntimeTypeHandle callingTypeHandle,
java.lang.String rootNamespace) |
static VsaEngine |
CreateEngineWithType(RuntimeTypeHandle callingTypeHandle) |
void |
DisconnectEvents() |
Assembly |
GetAssembly() |
IVsaScriptScope |
GetGlobalScope() |
IJSVsaItem |
GetItem(java.lang.String itemName) |
IJSVsaItem |
GetItemAtIndex(int index) |
int |
GetItemCount() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
LenientGlobalObject |
getLenientGlobalObject() |
GlobalScope |
GetMainScope() |
Module |
GetModule() |
ArrayConstructor |
GetOriginalArrayConstructor() |
ObjectConstructor |
GetOriginalObjectConstructor() |
RegExpConstructor |
GetOriginalRegExpConstructor() |
void |
InitVsaEngine(java.lang.String rootMoniker,
IJSVsaSite site) |
void |
Interrupt() |
boolean |
IsValidIdentifier(java.lang.String ident) |
ScriptObject |
PopScriptObject() |
void |
PushScriptObject(ScriptObject obj) |
void |
RegisterEventSource(java.lang.String name) |
void |
Reset() |
void |
Restart() |
void |
Run(AppDomain domain) |
void |
RunEmpty() |
ScriptObject |
ScriptObjectStackTop() |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
SetOutputStream(IMessageReceiver output) |
Close, Compile, getAppDomain, getApplicationBase, getAssembly, getEvidence, getGenerateDebugInfo, getIsCompiled, getIsDirty, getIsRunning, getItems, getLanguage, getLCID, getName, GetOption, getRootMoniker, getRootNamespace, getSite, getVersion, InitNew, LoadSourceState, RevokeCache, Run, SaveCompiledState, SaveSourceState, setAppDomain, setApplicationBase, setEvidence, setGenerateDebugInfo, setIsDirty, setLCID, setName, SetOption, setRootMoniker, setRootNamespace, setSitepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic VsaEngine()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException
public VsaEngine(boolean fast)
throws java.lang.Throwable,
ArgumentNullException,
TypeLoadException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
ArgumentOutOfRangeException
public VsaEngine(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static VsaEngine cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into VsaEngine, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedVsaEngine instancejava.lang.Throwable - in case of error during cast operationpublic IJSVsaEngine Clone(AppDomain domain) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic boolean CompileEmpty()
throws java.lang.Throwable,
ArgumentException,
JSVsaException
java.lang.ThrowableArgumentExceptionJSVsaExceptionpublic void ConnectEvents()
throws java.lang.Throwable
java.lang.Throwablepublic static VsaEngine CreateEngine() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
public static GlobalScope CreateEngineAndGetGlobalScope(boolean dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, JSVsaException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic static GlobalScope CreateEngineAndGetGlobalScope(boolean fast, java.lang.String[] assemblyNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, JSVsaException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionpublic static GlobalScope CreateEngineAndGetGlobalScopeWithType(boolean dupParam0, JCORefOut dupParam1, RuntimeTypeHandle dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, ArgumentOutOfRangeException, JSVsaException, IndexOutOfRangeException, NotSupportedException, NotImplementedException, SecurityException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionNotSupportedExceptionNotImplementedExceptionSecurityExceptionNullReferenceExceptionpublic static GlobalScope CreateEngineAndGetGlobalScopeWithType(boolean fast, java.lang.String[] assemblyNames, RuntimeTypeHandle callingTypeHandle) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, ArgumentOutOfRangeException, JSVsaException, IndexOutOfRangeException, NotSupportedException, NotImplementedException, SecurityException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionNotSupportedExceptionNotImplementedExceptionSecurityExceptionNullReferenceExceptionpublic static GlobalScope CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(boolean dupParam0, JCORefOut dupParam1, RuntimeTypeHandle dupParam2, java.lang.String dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, JSVsaException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceExceptionpublic static GlobalScope CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace(boolean fast, java.lang.String[] assemblyNames, RuntimeTypeHandle callingTypeHandle, java.lang.String rootNamespace) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, JSVsaException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, NotImplementedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceExceptionpublic static VsaEngine CreateEngineWithType(RuntimeTypeHandle callingTypeHandle) throws java.lang.Throwable, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, MissingMethodException, TargetInvocationException, JSVsaException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException
java.lang.ThrowableNotImplementedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionJSVsaExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceExceptionpublic void DisconnectEvents()
throws java.lang.Throwable
java.lang.Throwablepublic Assembly GetAssembly() throws java.lang.Throwable, ArgumentException, JSVsaException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, IndexOutOfRangeException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentExceptionJSVsaExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationExceptionpublic IVsaScriptScope GetGlobalScope() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
public IJSVsaItem GetItem(java.lang.String itemName) throws java.lang.Throwable
java.lang.Throwablepublic IJSVsaItem GetItemAtIndex(int index) throws java.lang.Throwable
java.lang.Throwablepublic int GetItemCount()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class BaseVsaEngineString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class BaseVsaEngineString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class BaseVsaEngineObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class BaseVsaEngineString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class BaseVsaEngineJCType representing the CLR Type of the instantiated Classpublic LenientGlobalObject getLenientGlobalObject() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic GlobalScope GetMainScope() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, NotImplementedException, InvalidOperationException, ArgumentException
public Module GetModule() throws java.lang.Throwable, ArgumentException, JSVsaException, ArgumentNullException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, FormatException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, EndOfFile, TypeLoadException
java.lang.ThrowableArgumentExceptionJSVsaExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionFormatExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionEndOfFileTypeLoadExceptionpublic ArrayConstructor GetOriginalArrayConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic ObjectConstructor GetOriginalObjectConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic RegExpConstructor GetOriginalRegExpConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic void InitVsaEngine(java.lang.String rootMoniker,
IJSVsaSite site)
throws java.lang.Throwable
java.lang.Throwablepublic void Interrupt()
throws java.lang.Throwable
java.lang.Throwablepublic boolean IsValidIdentifier(java.lang.String ident)
throws java.lang.Throwable,
JSVsaException,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
EndOfFile,
OutOfMemoryException,
NotSupportedException,
NotImplementedException,
FormatException,
OverflowException,
ArithmeticException,
JScriptException
IsValidIdentifier in class BaseVsaEnginejava.lang.ThrowableJSVsaExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionEndOfFileOutOfMemoryExceptionNotSupportedExceptionNotImplementedExceptionFormatExceptionOverflowExceptionArithmeticExceptionJScriptExceptionpublic ScriptObject PopScriptObject() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic void PushScriptObject(ScriptObject obj) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic void RegisterEventSource(java.lang.String name)
throws java.lang.Throwable
java.lang.Throwablepublic void Reset()
throws java.lang.Throwable,
ArgumentException,
JSVsaException
Reset in class BaseVsaEnginejava.lang.ThrowableArgumentExceptionJSVsaExceptionpublic void Restart()
throws java.lang.Throwable,
ArgumentException,
JSVsaException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException
public void Run(AppDomain domain) throws java.lang.Throwable, NotImplementedException
java.lang.ThrowableNotImplementedExceptionpublic void RunEmpty()
throws java.lang.Throwable,
ArgumentException,
JSVsaException
java.lang.ThrowableArgumentExceptionJSVsaExceptionpublic ScriptObject ScriptObjectStackTop() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class BaseVsaEnginepublic void SetOutputStream(IMessageReceiver output) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, SecurityException, IndexOutOfRangeException