com.esri.arcgis.geodatabase
Class IFeatureEdit2Proxy
java.lang.Object
com.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.IRowEditProxy
com.esri.arcgis.geodatabase.IFeatureEditProxy
com.esri.arcgis.geodatabase.IFeatureEdit2Proxy
- All Implemented Interfaces:
- java.io.Externalizable, IFeatureEdit, IFeatureEdit2, IRowEdit, java.io.Serializable
- public class IFeatureEdit2Proxy
- extends IFeatureEditProxy
- implements IFeatureEdit2, java.io.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
|
Method Summary |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
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.interop.Dispatch |
bindUsingMoniker, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, hashCode, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, queryInterface, readExternal, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
targetClass
public static final java.lang.Class targetClass
IFeatureEdit2Proxy
public IFeatureEdit2Proxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
IFeatureEdit2Proxy
public IFeatureEdit2Proxy()
- For internal use only
IFeatureEdit2Proxy
public IFeatureEdit2Proxy(java.lang.Object obj)
throws java.io.IOException
IFeatureEdit2Proxy
protected IFeatureEdit2Proxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
IFeatureEdit2Proxy
protected IFeatureEdit2Proxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
addListener
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
- Description copied from class:
Dispatch
- Adds a Java object to be a listener for a specific kind of event generated by the COM object.
when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).
- Overrides:
addListener in class IFeatureEditProxy
- Throws:
java.io.IOException
removeListener
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
- Description copied from class:
Dispatch
- Removes a Java object as a listener to events generated by a COM object.
when you wish to invoke method on the COM object using IDispatch (not using custom marshalling).
- Overrides:
removeListener in class IFeatureEditProxy
- Throws:
java.io.IOException
splitWithUpdate
public ISet splitWithUpdate(IGeometry geometry)
throws java.io.IOException,
AutomationException
- Description copied from interface:
IFeatureEdit2
- 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.
- 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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.