com.esri.arcgis.geometry
Class IGeometricBufferSourceSinkProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geometry.IGeometricBufferSourceSinkProxy
All Implemented Interfaces:
IGeometricBufferSourceSink, Externalizable, Serializable

public class IGeometricBufferSourceSinkProxy
extends com.esri.arcgis.interop.Dispatch
implements IGeometricBufferSourceSink, Serializable

Client-supplied interface that provides support for buffering a group of geometries by different distances.

Description

This interface is new at ArcGIS 9.3.

Product Availability

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

See Also:
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
  IGeometricBufferSourceSinkProxy()
           
  IGeometricBufferSourceSinkProxy(Object obj)
           
protected IGeometricBufferSourceSinkProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void readNext(int[] geomID, IGeometry[] nextGeometry, double[] pDistance)
          Reads the next geometry (along with a client specified geometry id) and distance from the source - or returns a nil geometry when at the end.
 void removeListener(String iidStr, Object theListener)
           
 void writeNext(int geomID, IGeometry pBufferedGeometry)
          Writes the next output buffer to its destination.
 
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

noncastable

public boolean noncastable
Constructor Detail

IGeometricBufferSourceSinkProxy

public IGeometricBufferSourceSinkProxy()

IGeometricBufferSourceSinkProxy

public IGeometricBufferSourceSinkProxy(Object obj)
                                throws IOException
Throws:
IOException

IGeometricBufferSourceSinkProxy

protected IGeometricBufferSourceSinkProxy(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

readNext

public void readNext(int[] geomID,
                     IGeometry[] nextGeometry,
                     double[] pDistance)
              throws IOException,
                     AutomationException
Reads the next geometry (along with a client specified geometry id) and distance from the source - or returns a nil geometry when at the end.

Product Availability

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

Specified by:
readNext in interface IGeometricBufferSourceSink
Parameters:
geomID - The geomID (out: use single element array)
nextGeometry - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
pDistance - The pDistance (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeNext

public void writeNext(int geomID,
                      IGeometry pBufferedGeometry)
               throws IOException,
                      AutomationException
Writes the next output buffer to its destination. The client id is valid when buffers have not been dissolved or exploded.

Product Availability

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

Specified by:
writeNext in interface IGeometricBufferSourceSink
Parameters:
geomID - The geomID (in)
pBufferedGeometry - 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.