com.esri.arcgis.arcweb
Class ArcWebPlaceFinder

java.lang.Object
  extended by com.esri.arcgis.arcweb.ArcWebPlaceFinder
All Implemented Interfaces:
IArcWebPlaceFinder, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class ArcWebPlaceFinder
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebPlaceFinder

An ArcWeb service used for finding places.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebPlaceFinder()
          Constructs a ArcWebPlaceFinder using ArcGIS Engine.
ArcWebPlaceFinder(Object obj)
          Construct a ArcWebPlaceFinder using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IArcWebLocationInfo find(String place, IArcWebPlaceFinderOptions placeFinderOptions, ITrackCancel pCancelTracker)
          Finds a place.
static String getClsid()
          getClsid.
 IEnumArcWebPlaceFinderInfo getDataSourceInfo(IEnumArcWebDataSourceInfo pDataSourceInfo, ITrackCancel pCancelTracker)
          Gets the country and type information for the specified data sources.
 IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
          Gets all the data sources information that can support this service.
 int hashCode()
          the hashcode for this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

ArcWebPlaceFinder

public ArcWebPlaceFinder()
                  throws IOException,
                         UnknownHostException
Constructs a ArcWebPlaceFinder using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

ArcWebPlaceFinder

public ArcWebPlaceFinder(Object obj)
                  throws IOException
Construct a ArcWebPlaceFinder using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcWebPlaceFinder.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems ArcWebPlaceFinder theArcWebPlaceFinder = (ArcWebPlaceFinder) obj;
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

find

public IArcWebLocationInfo find(String place,
                                IArcWebPlaceFinderOptions placeFinderOptions,
                                ITrackCancel pCancelTracker)
                         throws IOException,
                                AutomationException
Finds a place.

Product Availability

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

Specified by:
find in interface IArcWebPlaceFinder
Parameters:
place - The place (in)
placeFinderOptions - A reference to a com.esri.arcgis.arcweb.IArcWebPlaceFinderOptions (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IArcWebLocationInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataSourceInfo

public IEnumArcWebPlaceFinderInfo getDataSourceInfo(IEnumArcWebDataSourceInfo pDataSourceInfo,
                                                    ITrackCancel pCancelTracker)
                                             throws IOException,
                                                    AutomationException
Gets the country and type information for the specified data sources.

Product Availability

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

Specified by:
getDataSourceInfo in interface IArcWebPlaceFinder
Parameters:
pDataSourceInfo - A reference to a com.esri.arcgis.arcweb.IEnumArcWebDataSourceInfo (in)
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebPlaceFinderInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSupportedDataSources

public IEnumArcWebDataSourceInfo getSupportedDataSources(ITrackCancel pCancelTracker)
                                                  throws IOException,
                                                         AutomationException
Gets all the data sources information that can support this service.

Product Availability

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

Specified by:
getSupportedDataSources in interface IArcWebPlaceFinder
Parameters:
pCancelTracker - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebDataSourceInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.