Package microsoft.jscript.vsa
Class VsaEngine
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.jscript.vsa.BaseVsaEngine
-
- microsoft.jscript.vsa.VsaEngine
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class VsaEngine extends BaseVsaEngine
The base .NET class managing Microsoft.JScript.Vsa.VsaEngine, Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.Vsa.VsaEngine
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: Microsoft.JScriptstatic java.lang.StringclassNameQualified class name: Microsoft.JScript.Vsa.VsaEnginestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
-
Methods inherited from class microsoft.jscript.vsa.BaseVsaEngine
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, setSite
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.JScript- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.JScript.Vsa.VsaEngine- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VsaEngine
public VsaEngine(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
VsaEngine
public VsaEngine() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
VsaEngine
public VsaEngine(boolean fast) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classBaseVsaEngine- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classBaseVsaEngine- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classBaseVsaEngine- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classBaseVsaEngine- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classBaseVsaEngine
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classBaseVsaEngine- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static VsaEngine cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoVsaEngine, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
VsaEngineinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CompileEmpty
public boolean CompileEmpty() throws java.lang.Throwable, ArgumentException, JSVsaException- Throws:
java.lang.ThrowableArgumentExceptionJSVsaException
-
IsValidIdentifier
public 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- Overrides:
IsValidIdentifierin classBaseVsaEngine- Throws:
java.lang.ThrowableJSVsaExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionEndOfFileOutOfMemoryExceptionNotSupportedExceptionNotImplementedExceptionFormatExceptionOverflowExceptionArithmeticExceptionJScriptException
-
GetItemCount
public int GetItemCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetOriginalArrayConstructor
public ArrayConstructor GetOriginalArrayConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
CreateEngineAndGetGlobalScope
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
CreateEngineAndGetGlobalScope
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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
CreateEngineAndGetGlobalScopeWithType
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionNotSupportedExceptionNotImplementedExceptionSecurityExceptionNullReferenceException
-
CreateEngineAndGetGlobalScopeWithType
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionNotSupportedExceptionNotImplementedExceptionSecurityExceptionNullReferenceException
-
CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceException
-
CreateEngineAndGetGlobalScopeWithTypeAndRootNamespace
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionJSVsaExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionNotImplementedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceException
-
GetMainScope
public GlobalScope GetMainScope() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, NotImplementedException, InvalidOperationException, ArgumentException
-
GetGlobalScope
public IVsaScriptScope GetGlobalScope() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
-
GetOriginalObjectConstructor
public ObjectConstructor GetOriginalObjectConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
GetOriginalRegExpConstructor
public RegExpConstructor GetOriginalRegExpConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
PopScriptObject
public ScriptObject PopScriptObject() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
ScriptObjectStackTop
public ScriptObject ScriptObjectStackTop() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
Clone
public IJSVsaEngine Clone(AppDomain domain) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
GetItem
public IJSVsaItem GetItem(java.lang.String itemName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetItemAtIndex
public IJSVsaItem GetItemAtIndex(int index) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateEngine
public static VsaEngine CreateEngine() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
CreateEngineWithType
public 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
- Throws:
java.lang.ThrowableNotImplementedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionJSVsaExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceException
-
GetAssembly
public Assembly GetAssembly() throws java.lang.Throwable, ArgumentException, JSVsaException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException, IndexOutOfRangeException, ArgumentOutOfRangeException, CultureNotFoundException, NotImplementedException, InvalidCastException, NullReferenceException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.ThrowableArgumentExceptionJSVsaExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionFormatExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionTargetInvocationException
-
GetModule
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
- Throws:
java.lang.ThrowableArgumentExceptionJSVsaExceptionArgumentNullExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotImplementedExceptionInvalidCastExceptionNullReferenceExceptionMissingMethodExceptionFormatExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionEndOfFileTypeLoadException
-
ConnectEvents
public void ConnectEvents() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DisconnectEvents
public void DisconnectEvents() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
InitVsaEngine
public void InitVsaEngine(java.lang.String rootMoniker, IJSVsaSite site) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Interrupt
public void Interrupt() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
PushScriptObject
public void PushScriptObject(ScriptObject obj) throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
RegisterEventSource
public void RegisterEventSource(java.lang.String name) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Reset
public void Reset() throws java.lang.Throwable, ArgumentException, JSVsaException- Overrides:
Resetin classBaseVsaEngine- Throws:
java.lang.ThrowableArgumentExceptionJSVsaException
-
Restart
public void Restart() throws java.lang.Throwable, ArgumentException, JSVsaException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
-
Run
public void Run(AppDomain domain) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.ThrowableNotImplementedException
-
RunEmpty
public void RunEmpty() throws java.lang.Throwable, ArgumentException, JSVsaException- Throws:
java.lang.ThrowableArgumentExceptionJSVsaException
-
SetOutputStream
public void SetOutputStream(IMessageReceiver output) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, NotSupportedException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, SecurityException, IndexOutOfRangeException
-
getLenientGlobalObject
public LenientGlobalObject getLenientGlobalObject() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedException
-
-