com.esri.arcgis.geodatabase
Class IFeatureCursorProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IFeatureCursorProxy
All Implemented Interfaces:
IFeatureCursor, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
ITemporalCursorProxy

public class IFeatureCursorProxy
extends com.esri.arcgis.interop.Dispatch
implements IFeatureCursor, java.io.Serializable

Internal use class Proxy for COM Interface 'IFeatureCursor'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that hand out enumerated features, field collections and allows for the updating, deleting and inserting of features.' 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
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFeatureCursor
IID, IIDd4803ef8_79f4_11d0_97fc_0080c7f79481
 
Constructor Summary
  IFeatureCursorProxy()
          For internal use only
  IFeatureCursorProxy(java.lang.Object obj)
           
protected IFeatureCursorProxy(java.lang.Object obj, java.lang.String iid)
           
  IFeatureCursorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IFeatureCursorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void deleteFeature()
          Delete the existing Feature in the database corresponding to the current position of the cursor.
 int findField(java.lang.String name)
          The index of the field with the specified name.
 void flush()
          Flush any outstanding buffered writes to the database.
 IFields getFields()
          The fields Collection for this cursor.
 java.lang.Object insertFeature(IFeatureBuffer buffer)
          Insert a new Feature into the database using the property values in the input buffer.
 IFeature nextFeature()
          Advance the position of the cursor by one and return the Feature object at that position.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void updateFeature(IFeature object)
          Update the existing Feature in the database corresponding to the current position of the cursor.
 
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, optimizedVtblInvoke, queryInterface, readExternal, release, 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

noncastable

public boolean noncastable
Constructor Detail

IFeatureCursorProxy

public IFeatureCursorProxy(java.lang.String CLSID,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.net.UnknownHostException,
                           java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IFeatureCursorProxy

public IFeatureCursorProxy()
For internal use only


IFeatureCursorProxy

public IFeatureCursorProxy(java.lang.Object obj)
                    throws java.io.IOException
Throws:
java.io.IOException

IFeatureCursorProxy

protected IFeatureCursorProxy(java.lang.Object obj,
                              java.lang.String iid)
                       throws java.io.IOException
Throws:
java.io.IOException

IFeatureCursorProxy

protected IFeatureCursorProxy(java.lang.String CLSID,
                              java.lang.String iid,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.io.IOException
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
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

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

findField

public int findField(java.lang.String name)
              throws java.io.IOException,
                     AutomationException
The index of the field with the specified name.

Specified by:
findField in interface IFeatureCursor
Parameters:
name - The name (in)
Returns:
The fieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The fields Collection for this cursor.

Specified by:
getFields in interface IFeatureCursor
Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextFeature

public IFeature nextFeature()
                     throws java.io.IOException,
                            AutomationException
Advance the position of the cursor by one and return the Feature object at that position.

Specified by:
nextFeature in interface IFeatureCursor
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeature
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateFeature

public void updateFeature(IFeature object)
                   throws java.io.IOException,
                          AutomationException
Update the existing Feature in the database corresponding to the current position of the cursor.

Specified by:
updateFeature in interface IFeatureCursor
Parameters:
object - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteFeature

public void deleteFeature()
                   throws java.io.IOException,
                          AutomationException
Delete the existing Feature in the database corresponding to the current position of the cursor.

Specified by:
deleteFeature in interface IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertFeature

public java.lang.Object insertFeature(IFeatureBuffer buffer)
                               throws java.io.IOException,
                                      AutomationException
Insert a new Feature into the database using the property values in the input buffer. The ID of the new Feature is returned.

Specified by:
insertFeature in interface IFeatureCursor
Parameters:
buffer - A reference to a com.esri.arcgis.geodatabase.IFeatureBuffer (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flush

public void flush()
           throws java.io.IOException,
                  AutomationException
Flush any outstanding buffered writes to the database.

Specified by:
flush in interface IFeatureCursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.