public class Toponym extends Object
| Constructor and Description |
|---|
Toponym(org.codehaus.jettison.json.JSONObject jsonData) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdminCode1() |
String |
getAdminCode2() |
String |
getAdminCode3() |
String |
getAdminCode4() |
String |
getAdminName1() |
String |
getAdminName2() |
String |
getAdminName3() |
String |
getAdminName4() |
List<String[]> |
getAlternateNames()
alternate names of this place as a list of string arrays with two entries
the first entry is the label and the second represents the language
|
String |
getCountryCode() |
String |
getCountryName() |
Integer |
getElevation() |
FeatureClass |
getFeatureClass()
the feature class
FeatureClass |
String |
getFeatureClassName() |
String |
getFeatureCode() |
String |
getFeatureCodeName() |
int |
getGeoNameId() |
double |
getLatitude()
latitude in decimal degrees (wgs84)
|
double |
getLongitude()
longitude in decimal degrees (wgs84)
|
String |
getName() |
Long |
getPopulation() |
Double |
getScore() |
org.codehaus.jettison.json.JSONObject |
getTimezone()
The time zone is a complex Object encoded like
timezone: {
dstOffset: -5
gmtOffset: -6
timeZoneId: "America/Chicago"
}
This mehtod does not further parse this data. |
String |
toString() |
public String getCountryCode()
public Integer getElevation()
public FeatureClass getFeatureClass()
FeatureClasspublic String getFeatureCode()
public double getLatitude()
public double getLongitude()
public String getName()
public Long getPopulation()
public int getGeoNameId()
public String getFeatureClassName()
public String getFeatureCodeName()
public String getCountryName()
public List<String[]> getAlternateNames()
public String getAdminCode1()
public String getAdminCode2()
public String getAdminCode3()
public String getAdminCode4()
public org.codehaus.jettison.json.JSONObject getTimezone()
timezone: {
dstOffset: -5
gmtOffset: -6
timeZoneId: "America/Chicago"
}
This mehtod does not further parse this data.JSONObject with the time zone informationpublic String getAdminName1()
public String getAdminName2()
public String getAdminName3()
public String getAdminName4()
public Double getScore()
Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.