com.esri.arcgis.geodatabase
Class IErrorFeatureContainerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IErrorFeatureContainerProxy
All Implemented Interfaces:
IErrorFeatureContainer, Externalizable, Serializable

public class IErrorFeatureContainerProxy
extends com.esri.arcgis.interop.Dispatch
implements IErrorFeatureContainer, Serializable

Provides access to members that return error features.

Remarks

The IErrorFeatureContainer interface contains properties that can be used to return the error features associated with a Topology. Each property on IErrorFeatureContainer requires the spatial reference of the Topology.

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
  IErrorFeatureContainerProxy()
           
  IErrorFeatureContainerProxy(Object obj)
           
protected IErrorFeatureContainerProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 ITopologyErrorFeature getErrorFeature(ISpatialReference spatialReference, int errorType, int geometryType, int originClassID, int originOID, int destinationClassID, int destinationOID)
          An error feature with that matches the passed in parameters.
 IEnumTopologyErrorFeature getErrorFeatures(ISpatialReference spatialReference, ITopologyRule rule, IEnvelope extent, boolean errors, boolean exceptions)
          An enumeration of error features that match the passed in parameters.
 IEnumTopologyErrorFeature getErrorFeaturesByGeometryType(ISpatialReference spatialReference, int geometryType, boolean exceptions)
          An enumeration of error features that match the passed in parameters.
 IEnumTopologyErrorFeature getErrorFeaturesByRuleType(ISpatialReference spatialReference, int topologyRuleType, IEnvelope extent, boolean errors, boolean exceptions)
          An enumeration of error features that match the passed in parameters.
 void removeListener(String iidStr, Object theListener)
           
 
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

IErrorFeatureContainerProxy

public IErrorFeatureContainerProxy()

IErrorFeatureContainerProxy

public IErrorFeatureContainerProxy(Object obj)
                            throws IOException
Throws:
IOException

IErrorFeatureContainerProxy

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

getErrorFeature

public ITopologyErrorFeature getErrorFeature(ISpatialReference spatialReference,
                                             int errorType,
                                             int geometryType,
                                             int originClassID,
                                             int originOID,
                                             int destinationClassID,
                                             int destinationOID)
                                      throws IOException,
                                             AutomationException
An error feature with that matches the passed in parameters.

Product Availability

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

Specified by:
getErrorFeature in interface IErrorFeatureContainer
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
errorType - A com.esri.arcgis.geodatabase.esriTopologyRuleType constant (in)
geometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
originClassID - The originClassID (in)
originOID - The originOID (in)
destinationClassID - The destinationClassID (in)
destinationOID - The destinationOID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ITopologyErrorFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorFeatures

public IEnumTopologyErrorFeature getErrorFeatures(ISpatialReference spatialReference,
                                                  ITopologyRule rule,
                                                  IEnvelope extent,
                                                  boolean errors,
                                                  boolean exceptions)
                                           throws IOException,
                                                  AutomationException
An enumeration of error features that match the passed in parameters.

Product Availability

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

Specified by:
getErrorFeatures in interface IErrorFeatureContainer
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
rule - A reference to a com.esri.arcgis.geodatabase.ITopologyRule (in)
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
errors - The errors (in)
exceptions - The exceptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyErrorFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorFeaturesByGeometryType

public IEnumTopologyErrorFeature getErrorFeaturesByGeometryType(ISpatialReference spatialReference,
                                                                int geometryType,
                                                                boolean exceptions)
                                                         throws IOException,
                                                                AutomationException
An enumeration of error features that match the passed in parameters.

Product Availability

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

Specified by:
getErrorFeaturesByGeometryType in interface IErrorFeatureContainer
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
geometryType - A com.esri.arcgis.geometry.esriGeometryType constant (in)
exceptions - The exceptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyErrorFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorFeaturesByRuleType

public IEnumTopologyErrorFeature getErrorFeaturesByRuleType(ISpatialReference spatialReference,
                                                            int topologyRuleType,
                                                            IEnvelope extent,
                                                            boolean errors,
                                                            boolean exceptions)
                                                     throws IOException,
                                                            AutomationException
An enumeration of error features that match the passed in parameters.

Product Availability

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

Specified by:
getErrorFeaturesByRuleType in interface IErrorFeatureContainer
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
topologyRuleType - A com.esri.arcgis.geodatabase.esriTopologyRuleType constant (in)
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
errors - The errors (in)
exceptions - The exceptions (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumTopologyErrorFeature
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.