com.esri.arcgis.geodatabase
Class IFeatureBufferProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IRowBufferProxy
          extended by com.esri.arcgis.geodatabase.IFeatureBufferProxy
All Implemented Interfaces:
IFeatureBuffer, IRowBuffer, Externalizable, Serializable

public class IFeatureBufferProxy
extends IRowBufferProxy
implements IFeatureBuffer, Serializable

Provides access to setting and returning the default shape in the feature buffer.

Remarks

The IFeatureBuffer interface is the same as IRowBuffer except it applies to feature buffers rather than row buffers. It is for use primarily with insert feature cursors.

Product Availability

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

See Also:
IFeature, IFeatureCursor, Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IFeatureBufferProxy()
           
  IFeatureBufferProxy(Object obj)
           
protected IFeatureBufferProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IGeometry getShape()
          The default shape in the feature buffer.
 void removeListener(String iidStr, Object theListener)
           
 void setShapeByRef(IGeometry shape)
          The default shape in the feature buffer.
 
Methods inherited from class com.esri.arcgis.geodatabase.IRowBufferProxy
getFields, getValue, setValue
 
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
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRowBuffer
getFields, getValue, setValue
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFeatureBufferProxy

public IFeatureBufferProxy()

IFeatureBufferProxy

public IFeatureBufferProxy(Object obj)
                    throws IOException
Throws:
IOException

IFeatureBufferProxy

protected IFeatureBufferProxy(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 IRowBufferProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class IRowBufferProxy
Throws:
IOException

getShape

public IGeometry getShape()
                   throws IOException,
                          AutomationException
The default shape in the feature buffer.

Description

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getShape in interface IFeatureBuffer
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setShapeByRef

public void setShapeByRef(IGeometry shape)
                   throws IOException,
                          AutomationException
The default shape in the feature buffer.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setShapeByRef in interface IFeatureBuffer
Parameters:
shape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.