com.esri.arcgis.arcweb
Class ArcWebPlaceFinderInfo

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

public class ArcWebPlaceFinderInfo
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IArcWebPlaceFinderInfo

The information describing an ArcWebPlaceFinder.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
ArcWebPlaceFinderInfo(Object obj)
          Construct a ArcWebPlaceFinderInfo using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 String getDataSource()
          The data source name used to find a place.
 IEnumArcWebCountry getEnumCountry()
          An enumerator of the countries supported by the data source.
 IEnumArcWebKeyValue getTypeEnum()
          The possible types of places that can be used for the search in ArcWebPlaceFinderOptions::FilterType.
 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

ArcWebPlaceFinderInfo

public ArcWebPlaceFinderInfo(Object obj)
                      throws IOException
Construct a ArcWebPlaceFinderInfo using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ArcWebPlaceFinderInfo.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
ArcWebPlaceFinderInfo o = (ArcWebPlaceFinderInfo)obj; // will not work

ArcWebPlaceFinderInfo o = new ArcWebPlaceFinderInfo(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems ArcWebPlaceFinderInfo theArcWebPlaceFinderInfo = (ArcWebPlaceFinderInfo) obj;
Method Detail

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

getDataSource

public String getDataSource()
                     throws IOException,
                            AutomationException
The data source name used to find a place.

Product Availability

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

Specified by:
getDataSource in interface IArcWebPlaceFinderInfo
Returns:
The dataSourceName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnumCountry

public IEnumArcWebCountry getEnumCountry()
                                  throws IOException,
                                         AutomationException
An enumerator of the countries supported by the data source.

Product Availability

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

Specified by:
getEnumCountry in interface IArcWebPlaceFinderInfo
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebCountry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeEnum

public IEnumArcWebKeyValue getTypeEnum()
                                throws IOException,
                                       AutomationException
The possible types of places that can be used for the search in ArcWebPlaceFinderOptions::FilterType.

Product Availability

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

Specified by:
getTypeEnum in interface IArcWebPlaceFinderInfo
Returns:
A reference to a com.esri.arcgis.arcweb.IEnumArcWebKeyValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.