com.esri.arcgis.geoprocessing
Class IGpEnumObjectProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IGpEnumObjectProxy
All Implemented Interfaces:
IGpEnumObject, Externalizable, Serializable

public class IGpEnumObjectProxy
extends com.esri.arcgis.interop.Dispatch
implements IGpEnumObject, Serializable

Provides access to the properties and methods of a Geoprocessing object enumerator object.

Product Availability

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

Supported Platforms

Windows

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, E
 
Constructor Summary
  IGpEnumObjectProxy()
           
  IGpEnumObjectProxy(Object obj)
           
protected IGpEnumObjectProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void deleteRow(Object row)
          Inserts the row associated with the given cursor row.
 void insertRow(Object row)
          Inserts the row associated with the given cursor row.
 Object newRow()
          Creates and returns a new cursor row object.
 Object next()
          Returns the next object in the enumeration sequence.
 void readExternal(ObjectInput in)
           
 void removeListener(String iidStr, Object theListener)
           
 void reset()
          Resets the enumeration so the next returned string is the first.
 void setCursor(ICursor cursor, int cursorCookie, IFields fields, IGPFieldInfo fieldInfo, IRowBuffer pRowBuffer, IPropertySet pRowSet, boolean update, int updateType, int type, ISpatialReference pSpRef, boolean hasM, boolean hasZ, double defaultZ)
          Initializes the enumeration of rows based upon the given cursor.
 void setFields(IFields fields, String wildCard, String fieldType)
          Sets the fields to be used when creating cursors.
 void setIndexes(IIndexes indexes, String wildCard)
          Sets the indexes to be used when creating cursors.
 void updateRow(Object row)
          Updates the row associated with the given cursor row.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, release, setNativeMode, setPropertyByName, toString, vtblInvoke
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IGpEnumObjectProxy

public IGpEnumObjectProxy()

IGpEnumObjectProxy

public IGpEnumObjectProxy(Object obj)
                   throws IOException
Throws:
IOException

IGpEnumObjectProxy

protected IGpEnumObjectProxy(Object obj,
                             String iid)
                      throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

reset

public void reset()
           throws IOException,
                  AutomationException
Resets the enumeration so the next returned string is the first.

Product Availability

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

Supported Platforms

Windows

Specified by:
reset in interface IGpEnumObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

public Object next()
            throws IOException,
                   AutomationException
Returns the next object in the enumeration sequence.

Product Availability

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

Supported Platforms

Windows

Specified by:
next in interface IGpEnumObject
Returns:
A reference to another Automation Object (IDispatch)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

newRow

public Object newRow()
              throws IOException,
                     AutomationException
Creates and returns a new cursor row object.

Product Availability

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

Supported Platforms

Windows

Specified by:
newRow in interface IGpEnumObject
Returns:
A reference to another Automation Object (IDispatch)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFields

public void setFields(IFields fields,
                      String wildCard,
                      String fieldType)
               throws IOException,
                      AutomationException
Sets the fields to be used when creating cursors.

Product Availability

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

Supported Platforms

Windows

Specified by:
setFields in interface IGpEnumObject
Parameters:
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
wildCard - The wildCard (in)
fieldType - The fieldType (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIndexes

public void setIndexes(IIndexes indexes,
                       String wildCard)
                throws IOException,
                       AutomationException
Sets the indexes to be used when creating cursors.

Product Availability

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

Supported Platforms

Windows

Specified by:
setIndexes in interface IGpEnumObject
Parameters:
indexes - A reference to a com.esri.arcgis.geodatabase.IIndexes (in)
wildCard - The wildCard (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCursor

public void setCursor(ICursor cursor,
                      int cursorCookie,
                      IFields fields,
                      IGPFieldInfo fieldInfo,
                      IRowBuffer pRowBuffer,
                      IPropertySet pRowSet,
                      boolean update,
                      int updateType,
                      int type,
                      ISpatialReference pSpRef,
                      boolean hasM,
                      boolean hasZ,
                      double defaultZ)
               throws IOException,
                      AutomationException
Initializes the enumeration of rows based upon the given cursor.

Product Availability

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

Supported Platforms

Windows

Specified by:
setCursor in interface IGpEnumObject
Parameters:
cursor - A reference to a com.esri.arcgis.geodatabase.ICursor (in)
cursorCookie - The cursorCookie (in)
fields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
fieldInfo - A reference to a com.esri.arcgis.geoprocessing.IGPFieldInfo (in)
pRowBuffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
pRowSet - A reference to a com.esri.arcgis.system.IPropertySet (in)
update - The update (in)
updateType - The updateType (in)
type - A com.esri.arcgis.geometry.esriGeometryType constant (in)
pSpRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
hasM - The hasM (in)
hasZ - The hasZ (in)
defaultZ - The defaultZ (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateRow

public void updateRow(Object row)
               throws IOException,
                      AutomationException
Updates the row associated with the given cursor row.

Product Availability

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

Supported Platforms

Windows

Specified by:
updateRow in interface IGpEnumObject
Parameters:
row - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertRow

public void insertRow(Object row)
               throws IOException,
                      AutomationException
Inserts the row associated with the given cursor row.

Product Availability

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

Supported Platforms

Windows

Specified by:
insertRow in interface IGpEnumObject
Parameters:
row - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteRow

public void deleteRow(Object row)
               throws IOException,
                      AutomationException
Inserts the row associated with the given cursor row.

Product Availability

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

Supported Platforms

Windows

Specified by:
deleteRow in interface IGpEnumObject
Parameters:
row - A reference to another Automation Object (IDispatch) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class com.esri.arcgis.interop.Dispatch
Throws:
IOException
ClassNotFoundException