|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lamatek.tags.google.beans.IntlAddressGeocoder
public class IntlAddressGeocoder
IntlAddressGeocoder
| Constructor Summary | |
|---|---|
IntlAddressGeocoder()
|
|
| Method Summary | |
|---|---|
boolean |
geocode()
Attempts to geocode the location based on the current information. |
double |
getLatitude()
Returns the latitude (in decimal form) of the location geocoded. |
double |
getLongitude()
Returns the longitude (in decimal form) of the location geocoded. |
java.lang.String |
getPrecision()
Returns any precision information provided by the underlying geocoder. |
java.lang.String |
getWarning()
Returns any warnings given by the underlying geocoder. |
void |
setAddress(java.lang.String address)
Sets the street address of the location to geocode. |
void |
setCity(java.lang.String city)
Sets the city name of the location to geocode. |
void |
setCountry(java.lang.String country)
Sets the country code for the location to geocode. |
void |
setState(java.lang.String state)
Sets the state/province of the location to geocode. |
void |
setZip(java.lang.String zip)
Sets the ZIP or Postal code of the location to geocode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IntlAddressGeocoder()
| Method Detail |
|---|
public void setAddress(java.lang.String address)
Geocoder
setAddress in interface Geocoderaddress - A valid street address (i.e. 74 Connor Lane)public void setCity(java.lang.String city)
Geocoder
setCity in interface Geocodercity - The US or Internation city name.public void setState(java.lang.String state)
Geocoder
setState in interface Geocoderstate - The US state or International province name.public void setCountry(java.lang.String country)
Geocoder
setCountry in interface Geocodercountry - The ISO compliant 2-character country code.public void setZip(java.lang.String zip)
Geocoder
setZip in interface Geocoderzip - The US ZIP or International postal code.public boolean geocode()
Geocoder
geocode in interface Geocoderpublic double getLongitude()
Geocoder
getLongitude in interface Geocoderpublic double getLatitude()
Geocoder
getLatitude in interface Geocoderpublic java.lang.String getPrecision()
Geocoder
getPrecision in interface Geocoderpublic java.lang.String getWarning()
Geocoder
getWarning in interface Geocoder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||