public class AddressElement extends Object
Address element returned from the OpenStreetMap Nominatim API looks like the following:
{
"road": "Boulevard de Vitré",
"suburb": "Jeanne d'Arc",
"city": "Rennes",
"administrative": "Rennes",
"state": "Britanny",
"postcode": "35042",
"country": "France",
"country_code": "fr"
}
Keys can't be enumerated entirely, so the java representation is a list of multiple
AddressElements.public final String getKey()
public final void setKey(String key)
key - the key to setpublic final String getValue()
public final void setValue(String value)
value - the value to setCopyright © 2013. All Rights Reserved.