com.esri.arcgis.location
Class IRouteLocator2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.location.IRouteLocatorProxy
          extended by com.esri.arcgis.location.IRouteLocator2Proxy
All Implemented Interfaces:
IRouteLocator, IRouteLocator2, Externalizable, Serializable

public class IRouteLocator2Proxy
extends IRouteLocatorProxy
implements IRouteLocator2, Serializable

Provides access to properties and methods of a route locator.

Remarks

The IRouteLocator2 Interface allows you to return a route location, IRouteLocation, by specifying an envelope, IEnvelope.

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
  IRouteLocator2Proxy()
           
  IRouteLocator2Proxy(Object obj)
           
protected IRouteLocator2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IEnumRouteIdentifyResult identify(IEnvelope searchEnvelope, String whereClause)
          Identify route locations in an envelope.
 boolean isHasZs()
          Indicates whether the route locator is Z-Aware.
 boolean isRouteIDIsIndexed()
          Indicates if the route ID has an index.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.location.IRouteLocatorProxy
getExtent, getMeasureUnit, getRouteFeatureClass, getRouteGeometry, getRouteIDFieldIndex, getRouteIDFieldName, getRouteIDFieldNameDelimited, getRouteWhereClause, getSpatialReference, isHasSpatialIndex, isRouteIDIsString, isRouteIDIsUnique, locate, locateRow, setRouteWhereClause
 
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.location.IRouteLocator
getExtent, getMeasureUnit, getRouteFeatureClass, getRouteGeometry, getRouteIDFieldIndex, getRouteIDFieldName, getRouteIDFieldNameDelimited, getRouteWhereClause, getSpatialReference, isHasSpatialIndex, isRouteIDIsString, isRouteIDIsUnique, locate, locateRow, setRouteWhereClause
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IRouteLocator2Proxy

public IRouteLocator2Proxy()

IRouteLocator2Proxy

public IRouteLocator2Proxy(Object obj)
                    throws IOException
Throws:
IOException

IRouteLocator2Proxy

protected IRouteLocator2Proxy(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 IRouteLocatorProxy
Throws:
IOException

removeListener

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

identify

public IEnumRouteIdentifyResult identify(IEnvelope searchEnvelope,
                                         String whereClause)
                                  throws IOException,
                                         AutomationException
Identify route locations in an envelope.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
identify in interface IRouteLocator2
Parameters:
searchEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
whereClause - The whereClause (in)
Returns:
A reference to a com.esri.arcgis.location.IEnumRouteIdentifyResult
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasZs

public boolean isHasZs()
                throws IOException,
                       AutomationException
Indicates whether the route locator is Z-Aware.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isHasZs in interface IRouteLocator2
Returns:
The hasZs
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRouteIDIsIndexed

public boolean isRouteIDIsIndexed()
                           throws IOException,
                                  AutomationException
Indicates if the route ID has an index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
isRouteIDIsIndexed in interface IRouteLocator2
Returns:
The routeIDIsIndexed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.