|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.tasks.ags.geocode.LocatorFindParameters
public class LocatorFindParameters

The class holding the parameters to support the find operation for a geocoding
service.
The find operation of a geocoding service is used for single field geocoding, such as:
| Field Summary | |
|---|---|
protected com.esri.core.internal.tasks.ags.geocode.GeocodeParametersInternal |
params
|
| Constructor Summary | |
|---|---|
LocatorFindParameters(String text)
Constructs a FindParameters object with the given the search text. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
double |
getDistance()
Gets the search distance in m. |
SpatialReference |
getInSR()
Returns the spatial reference of search extent. |
Point |
getLocation()
Gets the location point. |
SpatialReference |
getLocationSR()
Gets the location point spatial reference. |
int |
getMaxLocations()
Returns the maximum number for the returned candidates. |
List<String> |
getOutFields()
Return a list of fields to be returned in the response. |
SpatialReference |
getOutSR()
Returns the spatial reference of the xy coordinates for the geocode request. |
Envelope |
getSearchExtent()
Returns searching extent; |
String |
getSourceCountry()
string value representing the country. |
String |
getText()
Returns the search text string. |
int |
hashCode()
|
void |
setDistance(double distance)
Sets the search distance in m. |
void |
setLocation(Point point,
SpatialReference spatialReference)
Sets the search location. |
void |
setMaxLocations(int maxLocations)
Sets the maximum number for returned candidates. |
void |
setOutFields(List<String> outFields)
Sets a list of fields to be returned in the response. |
void |
setOutSR(SpatialReference outSR)
Sets the spatial reference for the xy coordinates returned by the geocode request. |
void |
setSearchExtent(Envelope searchExtent,
SpatialReference inSR)
Sets the search extent |
void |
setSourceCountry(String sourceCountry)
Sets a string value representing the country. |
void |
setText(String text)
Sets the search text. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected com.esri.core.internal.tasks.ags.geocode.GeocodeParametersInternal params
| Constructor Detail |
|---|
public LocatorFindParameters(String text)
text - a String for address, Points of interest (POI), a postal code.| Method Detail |
|---|
public Point getLocation()
public SpatialReference getLocationSR()
public double getDistance()
public void setLocation(Point point,
SpatialReference spatialReference)
point - the pointspatialReference - the spatial referencepublic void setDistance(double distance)
distance - the new distancepublic String getSourceCountry()
public void setSourceCountry(String sourceCountry)
sourceCountry - a Stringpublic SpatialReference getInSR()
public Envelope getSearchExtent()
public void setSearchExtent(Envelope searchExtent,
SpatialReference inSR)
searchExtent - an Envelope object.inSR - the spatial reference of the Envelope object.public SpatialReference getOutSR()
public void setOutSR(SpatialReference outSR)
outSR - SpatialReference a spatial reference the location candidates will be projected topublic List<String> getOutFields()
public void setOutFields(List<String> outFields)
outFields - a list field namespublic String getText()
public void setText(String text)
text - public int getMaxLocations()
public void setMaxLocations(int maxLocations)
maxLocations - an integerpublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||