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.String
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.JScriptstatic java.lang.String
className
Qualified class name: Microsoft.JScript.Vsa.VsaEnginestatic JCType
classType
The 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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classBaseVsaEngine
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classBaseVsaEngine
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classBaseVsaEngine
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classBaseVsaEngine
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classBaseVsaEngine
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classBaseVsaEngine
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static VsaEngine cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoVsaEngine
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
VsaEngine
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CompileEmpty
public boolean CompileEmpty() throws java.lang.Throwable, ArgumentException, JSVsaException
- Throws:
java.lang.Throwable
ArgumentException
JSVsaException
-
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:
IsValidIdentifier
in classBaseVsaEngine
- Throws:
java.lang.Throwable
JSVsaException
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
CultureNotFoundException
InvalidOperationException
EndOfFile
OutOfMemoryException
NotSupportedException
NotImplementedException
FormatException
OverflowException
ArithmeticException
JScriptException
-
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.Throwable
ArgumentNullException
NotImplementedException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
JSVsaException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
JSVsaException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
ArgumentOutOfRangeException
JSVsaException
IndexOutOfRangeException
NotSupportedException
NotImplementedException
SecurityException
NullReferenceException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
ArgumentOutOfRangeException
JSVsaException
IndexOutOfRangeException
NotSupportedException
NotImplementedException
SecurityException
NullReferenceException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
JSVsaException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
NullReferenceException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
JSVsaException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
NotImplementedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
NullReferenceException
-
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.Throwable
ArgumentNullException
NotImplementedException
-
GetOriginalRegExpConstructor
public RegExpConstructor GetOriginalRegExpConstructor() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentNullException
NotImplementedException
-
PopScriptObject
public ScriptObject PopScriptObject() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentNullException
NotImplementedException
-
ScriptObjectStackTop
public ScriptObject ScriptObjectStackTop() throws java.lang.Throwable, ArgumentNullException, NotImplementedException
- Throws:
java.lang.Throwable
ArgumentNullException
NotImplementedException
-
Clone
public IJSVsaEngine Clone(AppDomain domain) throws java.lang.Throwable, NotImplementedException
- Throws:
java.lang.Throwable
NotImplementedException
-
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.Throwable
NotImplementedException
IndexOutOfRangeException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
ObjectDisposedException
AbandonedMutexException
InvalidOperationException
MissingMethodException
TargetInvocationException
JSVsaException
NotSupportedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
NullReferenceException
-
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.Throwable
ArgumentException
JSVsaException
ArgumentNullException
InvalidOperationException
NotSupportedException
FormatException
IndexOutOfRangeException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
TargetInvocationException
-
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.Throwable
ArgumentException
JSVsaException
ArgumentNullException
InvalidOperationException
NotSupportedException
IndexOutOfRangeException
ArgumentOutOfRangeException
CultureNotFoundException
NotImplementedException
InvalidCastException
NullReferenceException
MissingMethodException
FormatException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
SecurityException
EndOfFile
TypeLoadException
-
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.Throwable
ArgumentNullException
NotImplementedException
-
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:
Reset
in classBaseVsaEngine
- Throws:
java.lang.Throwable
ArgumentException
JSVsaException
-
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.Throwable
NotImplementedException
-
RunEmpty
public void RunEmpty() throws java.lang.Throwable, ArgumentException, JSVsaException
- Throws:
java.lang.Throwable
ArgumentException
JSVsaException
-
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.Throwable
ArgumentNullException
NotImplementedException
-
-