Package microsoft.jscript
Class IVsaScriptCodeItemImplementation
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.jscript.IVsaScriptCodeItemImplementation
-
- All Implemented Interfaces:
IVsaScriptCodeItem,IJSVsaCodeItem,IJSVsaItem,IJCOBridgeReflected
public class IVsaScriptCodeItemImplementation extends NetObject implements IVsaScriptCodeItem
The base .NET class managing Microsoft.JScript.IVsaScriptCodeItem, Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.IVsaScriptCodeItem
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.IVsaScriptCodeItemstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IVsaScriptCodeItemImplementation(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddEventSource(java.lang.String eventSourceName, java.lang.String eventSourceType)voidAppendSourceText(java.lang.String text)NetObjectExecute()CodeObjectgetCodeDOM()booleangetIsDirty()JSVsaItemTypegetItemType()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetName()NetObjectGetOption(java.lang.String name)java.lang.StringgetSourceText()intgetStartColumn()intgetStartLine()voidRemoveEventSource(java.lang.String eventSourceName)voidsetName(java.lang.String Name)voidSetOption(java.lang.String name, NetObject value)voidsetSourceText(java.lang.String SourceText)voidsetStartColumn(int StartColumn)voidsetStartLine(int StartLine)static IVsaScriptCodeItemToIVsaScriptCodeItem(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIVsaScriptCodeItem, a cast assert is made to check if types are compatible.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToString
-
-
-
-
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.IVsaScriptCodeItem- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIJSVsaCodeItem- Specified by:
getJCOAssemblyNamein interfaceIJSVsaItem- Specified by:
getJCOAssemblyNamein interfaceIVsaScriptCodeItem- Overrides:
getJCOAssemblyNamein classNetObject- 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- Specified by:
getJCOClassNamein interfaceIJSVsaCodeItem- Specified by:
getJCOClassNamein interfaceIJSVsaItem- Specified by:
getJCOClassNamein interfaceIVsaScriptCodeItem- Overrides:
getJCOClassNamein classNetObject- 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- Specified by:
getJCOObjectNamein interfaceIJSVsaCodeItem- Specified by:
getJCOObjectNamein interfaceIJSVsaItem- Specified by:
getJCOObjectNamein interfaceIVsaScriptCodeItem- Overrides:
getJCOObjectNamein classNetObject- 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- Specified by:
getJCOInstancein interfaceIJSVsaCodeItem- Specified by:
getJCOInstancein interfaceIJSVsaItem- Specified by:
getJCOInstancein interfaceIVsaScriptCodeItem- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIJSVsaCodeItem- Specified by:
getJCOTypein interfaceIJSVsaItem- Specified by:
getJCOTypein interfaceIVsaScriptCodeItem- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
ToIVsaScriptCodeItem
public static IVsaScriptCodeItem ToIVsaScriptCodeItem(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIVsaScriptCodeItem, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IVsaScriptCodeIteminstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Execute
public NetObject Execute() throws java.lang.Throwable
- Specified by:
Executein interfaceIVsaScriptCodeItem- Throws:
java.lang.Throwable
-
GetOption
public NetObject GetOption(java.lang.String name) throws java.lang.Throwable
- Specified by:
GetOptionin interfaceIJSVsaItem- Throws:
java.lang.Throwable
-
AddEventSource
public void AddEventSource(java.lang.String eventSourceName, java.lang.String eventSourceType) throws java.lang.Throwable- Specified by:
AddEventSourcein interfaceIJSVsaCodeItem- Throws:
java.lang.Throwable
-
AppendSourceText
public void AppendSourceText(java.lang.String text) throws java.lang.Throwable- Specified by:
AppendSourceTextin interfaceIJSVsaCodeItem- Throws:
java.lang.Throwable
-
RemoveEventSource
public void RemoveEventSource(java.lang.String eventSourceName) throws java.lang.Throwable- Specified by:
RemoveEventSourcein interfaceIJSVsaCodeItem- Throws:
java.lang.Throwable
-
SetOption
public void SetOption(java.lang.String name, NetObject value) throws java.lang.Throwable- Specified by:
SetOptionin interfaceIJSVsaItem- Throws:
java.lang.Throwable
-
getIsDirty
public boolean getIsDirty() throws java.lang.Throwable- Specified by:
getIsDirtyin interfaceIJSVsaItem- Throws:
java.lang.Throwable
-
getStartColumn
public int getStartColumn() throws java.lang.Throwable- Specified by:
getStartColumnin interfaceIVsaScriptCodeItem- Throws:
java.lang.Throwable
-
setStartColumn
public void setStartColumn(int StartColumn) throws java.lang.Throwable- Specified by:
setStartColumnin interfaceIVsaScriptCodeItem- Throws:
java.lang.Throwable
-
getStartLine
public int getStartLine() throws java.lang.Throwable- Specified by:
getStartLinein interfaceIVsaScriptCodeItem- Throws:
java.lang.Throwable
-
setStartLine
public void setStartLine(int StartLine) throws java.lang.Throwable- Specified by:
setStartLinein interfaceIVsaScriptCodeItem- Throws:
java.lang.Throwable
-
getItemType
public JSVsaItemType getItemType() throws java.lang.Throwable
- Specified by:
getItemTypein interfaceIJSVsaItem- Throws:
java.lang.Throwable
-
getCodeDOM
public CodeObject getCodeDOM() throws java.lang.Throwable
- Specified by:
getCodeDOMin interfaceIJSVsaCodeItem- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable- Specified by:
getNamein interfaceIJSVsaItem- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable- Specified by:
setNamein interfaceIJSVsaItem- Throws:
java.lang.Throwable
-
getSourceText
public java.lang.String getSourceText() throws java.lang.Throwable- Specified by:
getSourceTextin interfaceIJSVsaCodeItem- Throws:
java.lang.Throwable
-
setSourceText
public void setSourceText(java.lang.String SourceText) throws java.lang.Throwable- Specified by:
setSourceTextin interfaceIJSVsaCodeItem- Throws:
java.lang.Throwable
-
-