com.esri.arcgis.geoanalyst
Class IStringRemapProxy

java.lang.Object
  extended bycom.esri.arcgis.interop.Dispatch
      extended bycom.esri.arcgis.geoanalyst.IStringRemapProxy
All Implemented Interfaces:
java.io.Externalizable, IStringRemap, java.io.Serializable

public class IStringRemapProxy
extends Dispatch
implements IStringRemap, java.io.Serializable

Provides access to members that control reclassification of string data.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF
 
Constructor Summary
  IStringRemapProxy()
          For internal use only
  IStringRemapProxy(java.lang.Object obj)
           
protected IStringRemapProxy(java.lang.Object obj, java.lang.String iid)
           
  IStringRemapProxy(java.lang.String CLSID, java.lang.String host, AuthInfo authInfo)
           
protected IStringRemapProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Adds a Java object to be a listener for a specific kind of event generated by the COM object.
 void loadStringsFromTable(ITable remapTable, java.lang.String outFieldName, java.lang.String inFieldName, java.lang.Object mappingFieldName)
          Loads string remap records from a table object.
 void mapString(java.lang.String inputString, int outputValue)
          Maps a string entry to the remap object.
 void mapStringToNoData(java.lang.String inputString)
          Maps a string entry to nodata.
 void queryStringRecord(int index, java.lang.String[] inString, int[] outValue, boolean[] mappedToNoData)
          Returns string record information by index.
 void queryStringValue(java.lang.String inString, int[] outValue, boolean[] isNodata)
          Returns the mapped value for a string remap entry.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Removes a Java object as a listener to events generated by a COM object.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Constructor Detail

IStringRemapProxy

public IStringRemapProxy(java.lang.String CLSID,
                         java.lang.String host,
                         AuthInfo authInfo)
                  throws java.net.UnknownHostException,
                         java.io.IOException

IStringRemapProxy

public IStringRemapProxy()
For internal use only


IStringRemapProxy

public IStringRemapProxy(java.lang.Object obj)
                  throws java.io.IOException

IStringRemapProxy

protected IStringRemapProxy(java.lang.Object obj,
                            java.lang.String iid)
                     throws java.io.IOException

IStringRemapProxy

protected IStringRemapProxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            AuthInfo authInfo)
                     throws java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Description copied from class: Dispatch
Adds a Java object to be a listener for a specific kind of event generated by the COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
addListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object to be informed of the events
theSource - the proxy class that represents the COM class that is the source of the events
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Description copied from class: Dispatch
Removes a Java object as a listener to events generated by a COM object. when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).

Overrides:
removeListener in class Dispatch
Parameters:
iidStr - the ID of the outgoing interface, implemented by the listener
theListener - the object that no longer wishes to be informed of the events
Throws:
java.io.IOException

mapString

public void mapString(java.lang.String inputString,
                      int outputValue)
               throws java.io.IOException,
                      AutomationException
Description copied from interface: IStringRemap
Maps a string entry to the remap object.

Supported Platforms

Windows, Solaris, Linux

Specified by:
mapString in interface IStringRemap
Parameters:
inputString - The inputString (in)
outputValue - The outputValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mapStringToNoData

public void mapStringToNoData(java.lang.String inputString)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IStringRemap
Maps a string entry to nodata.

Supported Platforms

Windows, Solaris, Linux

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

queryStringRecord

public void queryStringRecord(int index,
                              java.lang.String[] inString,
                              int[] outValue,
                              boolean[] mappedToNoData)
                       throws java.io.IOException,
                              AutomationException
Description copied from interface: IStringRemap
Returns string record information by index.

Supported Platforms

Windows, Solaris, Linux

Specified by:
queryStringRecord in interface IStringRemap
Parameters:
index - The index (in)
inString - The inString (out: use single element array)
outValue - The outValue (out: use single element array)
mappedToNoData - The mappedToNoData (out: use single element array)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.

queryStringValue

public void queryStringValue(java.lang.String inString,
                             int[] outValue,
                             boolean[] isNodata)
                      throws java.io.IOException,
                             AutomationException
Description copied from interface: IStringRemap
Returns the mapped value for a string remap entry.

Supported Platforms

Windows, Solaris, Linux

Specified by:
queryStringValue in interface IStringRemap
Parameters:
inString - The inString (in)
outValue - The outValue (out: use single element array)
isNodata - The isNodata (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadStringsFromTable

public void loadStringsFromTable(ITable remapTable,
                                 java.lang.String outFieldName,
                                 java.lang.String inFieldName,
                                 java.lang.Object mappingFieldName)
                          throws java.io.IOException,
                                 AutomationException
Description copied from interface: IStringRemap
Loads string remap records from a table object.

Supported Platforms

Windows, Solaris, Linux

Specified by:
loadStringsFromTable in interface IStringRemap
Parameters:
remapTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
outFieldName - The outFieldName (in)
inFieldName - The inFieldName (in)
mappingFieldName - A Variant (in, optional, pass null if not required)
Throws:
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.