com.esri.arcgis.geodatabase
Class IFeatureEdit2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IRowEditProxy
          extended by com.esri.arcgis.geodatabase.IFeatureEditProxy
              extended by com.esri.arcgis.geodatabase.IFeatureEdit2Proxy
All Implemented Interfaces:
IFeatureEdit, IFeatureEdit2, IRowEdit, Externalizable, Serializable

public class IFeatureEdit2Proxy
extends IFeatureEditProxy
implements IFeatureEdit2, Serializable

Provides access to members implemented to customize feature editing.

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
  IFeatureEdit2Proxy()
           
  IFeatureEdit2Proxy(Object obj)
           
protected IFeatureEdit2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void removeListener(String iidStr, Object theListener)
           
 ISet splitWithUpdate(IGeometry geometry)
          Split the feature by updating the split feature and creating new feature(s) for the smaller portion.
 
Methods inherited from class com.esri.arcgis.geodatabase.IFeatureEditProxy
beginMoveSet, moveSet, rotateSet, split, splitAttributes
 
Methods inherited from class com.esri.arcgis.geodatabase.IRowEditProxy
deleteSet
 
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.IFeatureEdit
beginMoveSet, moveSet, rotateSet, split, splitAttributes
 
Methods inherited from interface com.esri.arcgis.geodatabase.IRowEdit
deleteSet
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IFeatureEdit2Proxy

public IFeatureEdit2Proxy()

IFeatureEdit2Proxy

public IFeatureEdit2Proxy(Object obj)
                   throws IOException
Throws:
IOException

IFeatureEdit2Proxy

protected IFeatureEdit2Proxy(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 IFeatureEditProxy
Throws:
IOException

removeListener

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

splitWithUpdate

public ISet splitWithUpdate(IGeometry geometry)
                     throws IOException,
                            AutomationException
Split the feature by updating the split feature and creating new feature(s) for the smaller portion.

Remarks

SplitWithUpdate divides polylines by points or polygons by polylines, other kinds of split geometries are not supported (see IGeometry::GeometryType property for an enumeration of geometry types). Unlike the IFeatureEdit::Split method, SplitWithUpdate does not delete the original feature and insert two new features. When a feature is split, its geometry is modified and a new feature, with a new ObjectID, is inserted comprised of the remaining geometry. The geometry of the original feature will be modified to represent the largest section of the split geometry. For example, if a polyline is split at 60% along its length, the original feature's geometry will be modified to represent the 60% section and a new feature will be created with a geometry representing the remaining 40%.

You can define a policy on how the other attribute values of the new features are populated; this can be done with ArcCatalog or by using the Domain and Attribute Rule objects.

It is not necessary to call SplitAttributes after calling Split, this is done automatically.

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.

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