public class GeocodeRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static GeocodeType |
DEFAULT_TYPE |
| Constructor and Description |
|---|
GeocodeRequest() |
| Modifier and Type | Method and Description |
|---|---|
List<Address> |
getAddresses()
The list of addresses to be geocoded.
|
Preferences |
getPreferences()
Indicates the preferences to be used for geocoding.
|
GeocodeType |
getType()
Indicates the geocode type to be performed.
|
void |
setAddresses(List<Address> addresses)
w Sets the list of addresses to be geocoded.
|
void |
setPreferences(Preferences preferences)
Sets the preferences to be used for geocoding.
|
void |
setType(GeocodeType type)
Set the geocode type to be performed.
|
String |
toString() |
public static final GeocodeType DEFAULT_TYPE
public GeocodeType getType()
public void setType(GeocodeType type)
type - tye of geocode to be performedpublic List<Address> getAddresses()
public void setAddresses(List<Address> addresses) throws GeocodingException
addresses - - list of addresses to geocodeGeocodingException - if list is null or emptypublic Preferences getPreferences()
public void setPreferences(Preferences preferences)
preferences - preferences to be used for geocoding.Copyright © 2024. All rights reserved.