com.esri.core.tasks.ags.geocode
Class LocatorGeocodeResult

java.lang.Object
  extended by com.esri.core.tasks.ags.geocode.LocatorGeocodeResult

public class LocatorGeocodeResult
extends Object

Class containing the details of a location candidate such as the formatted address, the score, the location and the attributes.


Constructor Summary
LocatorGeocodeResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAddress()
          Returns the formatted address.
 Map<String,String> getAttributes()
          The attributes for this address candidate as defined in the service.
 Point getLocation()
           
 int getScore()
          Returns the score for this address candidate.
 SpatialReference getSpatialreference()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocatorGeocodeResult

public LocatorGeocodeResult()
Method Detail

getAddress

public String getAddress()
Returns the formatted address.

Returns:
the formatted address

getScore

public int getScore()
Returns the score for this address candidate.

Returns:
the score for this address candidate.

getAttributes

public Map<String,String> getAttributes()
The attributes for this address candidate as defined in the service.

Returns:
the attributes for this address candidate.

hashCode

public int hashCode()

equals

public boolean equals(Object obj)

toString

public String toString()
Overrides:
toString in class Object

getSpatialreference

public SpatialReference getSpatialreference()

getLocation

public Point getLocation()


Copyright © 2012. All Rights Reserved.