com.esri.arcgis.system
Class ESRIScriptEngine

java.lang.Object
  extended by com.esri.arcgis.system.ESRIScriptEngine
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IESRIScriptEngine, java.io.Serializable

public class ESRIScriptEngine
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IESRIScriptEngine

COM Class 'ESRIScriptEngine'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriSystem.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IESRIScriptEngine
IID, IID52b13a57_aa06_49be_a4d0_3cddac943ebe, xxDummy
 
Constructor Summary
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;
 
Method Summary
 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()
          Deprecated. Internal use only.
 java.lang.String getLanguage()
          The Script Language.
 int hashCode()
          the hashcode for this object
 boolean isAllowUI()
          The AllowUI method.
 void release()
          Release a ESRIScriptEngine.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESRIScriptEngine

public ESRIScriptEngine()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a ESRIScriptEngine using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ESRIScriptEngine

public ESRIScriptEngine(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ESRIScriptEngine theESRIScriptEngine = (ESRIScriptEngine) obj;

Construct a ESRIScriptEngine using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ESRIScriptEngine.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ESRIScriptEngine.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getLanguage

public java.lang.String getLanguage()
                             throws java.io.IOException,
                                    AutomationException
The Script Language.

Specified by:
getLanguage in interface IESRIScriptEngine
Returns:
The pLanguage
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLanguage

public void setLanguage(java.lang.String pLanguage)
                 throws java.io.IOException,
                        AutomationException
The Script Language.

Specified by:
setLanguage in interface IESRIScriptEngine
Parameters:
pLanguage - The pLanguage (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAllowUI

public boolean isAllowUI()
                  throws java.io.IOException,
                         AutomationException
The AllowUI method.

Specified by:
isAllowUI in interface IESRIScriptEngine
Returns:
The pAllowUI
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowUI

public void setAllowUI(boolean pAllowUI)
                throws java.io.IOException,
                       AutomationException
The AllowUI method.

Specified by:
setAllowUI in interface IESRIScriptEngine
Parameters:
pAllowUI - The pAllowUI (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addCode

public void addCode(java.lang.String scriptCode)
             throws java.io.IOException,
                    AutomationException
The AddCode method.

Specified by:
addCode in interface IESRIScriptEngine
Parameters:
scriptCode - The scriptCode (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

run

public java.lang.Object run(java.lang.String procedureName,
                            java.lang.Object[] pParameters)
                     throws java.io.IOException,
                            AutomationException
The Run method.

Specified by:
run in interface IESRIScriptEngine
Parameters:
procedureName - The procedureName (in)
pParameters - An UNSUPPORTED non-automation type: 26 (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getError

public void getError(int[] pLineNumber,
                     int[] pCharacterPosition,
                     java.lang.String[] pErrorSourceCode,
                     java.lang.String[] pErrorDescription)
              throws java.io.IOException,
                     AutomationException
The Error method.

Specified by:
getError in interface IESRIScriptEngine
Parameters:
pLineNumber - The pLineNumber (in)
pCharacterPosition - The pCharacterPosition (in)
pErrorSourceCode - The pErrorSourceCode (in)
pErrorDescription - The pErrorDescription (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.