public class ESRIScriptEngine extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IESRIScriptEngine
Description 'An object that creates ESRIScriptEngine instances.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID52b13a57_aa06_49be_a4d0_3cddac943ebe, xxDummy
Constructor and Description |
---|
ESRIScriptEngine()
Constructs a ESRIScriptEngine using ArcGIS Engine.
|
ESRIScriptEngine(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ESRIScriptEngine theESRIScriptEngine = (ESRIScriptEngine) obj; |
Modifier and Type | Method and Description |
---|---|
void |
addCode(java.lang.String scriptCode)
The AddCode method.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
void |
getError(int[] pLineNumber,
int[] pCharacterPosition,
java.lang.String[] pErrorSourceCode,
java.lang.String[] pErrorDescription)
The Error method.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getLanguage()
The Script Language.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isAllowUI()
The AllowUI method.
|
void |
release()
Release this COM object reference
|
java.lang.Object |
run(java.lang.String procedureName,
java.lang.Object[] pParameters)
The Run method.
|
void |
setAllowUI(boolean pAllowUI)
The AllowUI method.
|
void |
setLanguage(java.lang.String pLanguage)
The Script Language.
|
public ESRIScriptEngine() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ESRIScriptEngine(java.lang.Object obj) throws java.io.IOException
ESRIScriptEngine theESRIScriptEngine = (ESRIScriptEngine) obj;
obj
to ESRIScriptEngine
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getLanguage() throws java.io.IOException, AutomationException
getLanguage
in interface IESRIScriptEngine
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setLanguage(java.lang.String pLanguage) throws java.io.IOException, AutomationException
setLanguage
in interface IESRIScriptEngine
pLanguage
- The pLanguage (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isAllowUI() throws java.io.IOException, AutomationException
isAllowUI
in interface IESRIScriptEngine
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAllowUI(boolean pAllowUI) throws java.io.IOException, AutomationException
setAllowUI
in interface IESRIScriptEngine
pAllowUI
- The pAllowUI (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void addCode(java.lang.String scriptCode) throws java.io.IOException, AutomationException
addCode
in interface IESRIScriptEngine
scriptCode
- The scriptCode (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object run(java.lang.String procedureName, java.lang.Object[] pParameters) throws java.io.IOException, AutomationException
run
in interface IESRIScriptEngine
procedureName
- The procedureName (in)pParameters
- An UNSUPPORTED non-automation type: 26 (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getError(int[] pLineNumber, int[] pCharacterPosition, java.lang.String[] pErrorSourceCode, java.lang.String[] pErrorDescription) throws java.io.IOException, AutomationException
getError
in interface IESRIScriptEngine
pLineNumber
- The pLineNumber (in)pCharacterPosition
- The pCharacterPosition (in)pErrorSourceCode
- The pErrorSourceCode (in)pErrorDescription
- The pErrorDescription (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.