com.esri.arcgis.networkanalyst
Class INALocatorProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.networkanalyst.INALocatorProxy
All Implemented Interfaces:
INALocator, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
INALocator2Proxy

Deprecated. Internal use only. Proxy for COM Interface 'INALocator'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to properties that apply to all network locators.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

public class INALocatorProxy
extends com.esri.arcgis.interop.Dispatch
implements INALocator, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.networkanalyst.INALocator
IID, IIDeca487a0_fce8_462c_8df2_37042db4591c
 
Constructor Summary
  INALocatorProxy()
          Deprecated. For internal use only
  INALocatorProxy(java.lang.Object obj)
          Deprecated.  
protected INALocatorProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  INALocatorProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected INALocatorProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void addLocatorAgent(INALocatorAgent locatorAgent)
          Deprecated. Add a locator agent.
 void bind(INetworkDataset pNetworkDataset, IGPMessages pGPMessages)
          Deprecated. Re-associate the locators with the given network dataset and its schema.
 void createDefault(IDENetworkDataset network)
          Deprecated. Make the default locators.
 INALocatorAgent getLocatorAgent(int index)
          Deprecated. The locator agent by index.
 int getLocatorAgentCount()
          Deprecated. The number of locator agents added.
 INetworkDataset getNetworkDataset()
          Deprecated. The associated network dataset.
 ISpatialReference getOutputSpatialReference()
          Deprecated. The spatial reference for points returned by the locator.
 double getSnapTolerance()
          Deprecated. The distance to search.
 int getSnapToleranceUnits()
          Deprecated. The units of the snap tolerance.
 boolean isFindClosestAmongAllAgents()
          Deprecated. Indicates if the closest location (only) should be returned.
 void queryLocationByPoint(IPoint point, INALocation[] location, IPoint[] outPoint, double[] distanceFromPoint)
          Deprecated. Use the locator agents to find a network location from a point.
 void queryLocationByRow(IRow row, INALocation[] location, double[] distanceFromRow)
          Deprecated. Use the locator agents to find a network location from a row.
 void queryPoint(INALocation location, IPoint[] point)
          Deprecated. The point for a network location.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void removeLocatorAgent(int index)
          Deprecated. Remove a locator agent by index.
 void setFindClosestAmongAllAgents(boolean findClosest)
          Deprecated. Indicates if the closest location (only) should be returned.
 void setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
          Deprecated. The spatial reference for points returned by the locator.
 void setSnapTolerance(double tolerance)
          Deprecated. The distance to search.
 void setSnapToleranceUnits(int units)
          Deprecated. The units of the snap tolerance.
 
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

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

INALocatorProxy

public INALocatorProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

INALocatorProxy

public INALocatorProxy()
Deprecated. 
For internal use only


INALocatorProxy

public INALocatorProxy(java.lang.Object obj)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

INALocatorProxy

protected INALocatorProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

INALocatorProxy

protected INALocatorProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getNetworkDataset

public INetworkDataset getNetworkDataset()
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
The associated network dataset.

Specified by:
getNetworkDataset in interface INALocator
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapTolerance

public void setSnapTolerance(double tolerance)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
The distance to search.

Specified by:
setSnapTolerance in interface INALocator
Parameters:
tolerance - The tolerance (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapTolerance

public double getSnapTolerance()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The distance to search.

Specified by:
getSnapTolerance in interface INALocator
Returns:
The tolerance
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSnapToleranceUnits

public void setSnapToleranceUnits(int units)
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
The units of the snap tolerance.

Specified by:
setSnapToleranceUnits in interface INALocator
Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSnapToleranceUnits

public int getSnapToleranceUnits()
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
The units of the snap tolerance.

Specified by:
getSnapToleranceUnits in interface INALocator
Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFindClosestAmongAllAgents

public void setFindClosestAmongAllAgents(boolean findClosest)
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
Indicates if the closest location (only) should be returned.

Specified by:
setFindClosestAmongAllAgents in interface INALocator
Parameters:
findClosest - The findClosest (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isFindClosestAmongAllAgents

public boolean isFindClosestAmongAllAgents()
                                    throws java.io.IOException,
                                           AutomationException
Deprecated. 
Indicates if the closest location (only) should be returned.

Specified by:
isFindClosestAmongAllAgents in interface INALocator
Returns:
The findClosest
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocatorAgentCount

public int getLocatorAgentCount()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
The number of locator agents added.

Specified by:
getLocatorAgentCount in interface INALocator
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLocatorAgent

public INALocatorAgent getLocatorAgent(int index)
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
The locator agent by index.

Specified by:
getLocatorAgent in interface INALocator
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INALocatorAgent
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createDefault

public void createDefault(IDENetworkDataset network)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Make the default locators.

Specified by:
createDefault in interface INALocator
Parameters:
network - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addLocatorAgent

public void addLocatorAgent(INALocatorAgent locatorAgent)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Add a locator agent.

Specified by:
addLocatorAgent in interface INALocator
Parameters:
locatorAgent - A reference to a com.esri.arcgis.networkanalyst.INALocatorAgent (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeLocatorAgent

public void removeLocatorAgent(int index)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Remove a locator agent by index.

Specified by:
removeLocatorAgent in interface INALocator
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocationByPoint

public void queryLocationByPoint(IPoint point,
                                 INALocation[] location,
                                 IPoint[] outPoint,
                                 double[] distanceFromPoint)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Use the locator agents to find a network location from a point.

Specified by:
queryLocationByPoint in interface INALocator
Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in/out: use single element array)
outPoint - A reference to a com.esri.arcgis.geometry.IPoint (in/out: use single element array)
distanceFromPoint - The distanceFromPoint (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryLocationByRow

public void queryLocationByRow(IRow row,
                               INALocation[] location,
                               double[] distanceFromRow)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Use the locator agents to find a network location from a row.

Specified by:
queryLocationByRow in interface INALocator
Parameters:
row - A reference to a com.esri.arcgis.geodatabase.IRow (in)
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in/out: use single element array)
distanceFromRow - The distanceFromRow (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPoint

public void queryPoint(INALocation location,
                       IPoint[] point)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The point for a network location.

Specified by:
queryPoint in interface INALocator
Parameters:
location - A reference to a com.esri.arcgis.networkanalyst.INALocation (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

bind

public void bind(INetworkDataset pNetworkDataset,
                 IGPMessages pGPMessages)
          throws java.io.IOException,
                 AutomationException
Deprecated. 
Re-associate the locators with the given network dataset and its schema.

Specified by:
bind in interface INALocator
Parameters:
pNetworkDataset - A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)
pGPMessages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutputSpatialReferenceByRef

public void setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
                                    throws java.io.IOException,
                                           AutomationException
Deprecated. 
The spatial reference for points returned by the locator.

Specified by:
setOutputSpatialReferenceByRef in interface INALocator
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutputSpatialReference

public ISpatialReference getOutputSpatialReference()
                                            throws java.io.IOException,
                                                   AutomationException
Deprecated. 
The spatial reference for points returned by the locator.

Specified by:
getOutputSpatialReference in interface INALocator
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.