Package | Description |
---|---|
org.geonames |
GeoNames Java API main classes.
|
Modifier and Type | Method and Description |
---|---|
static Style |
WebService.getDefaultStyle() |
Style |
ToponymSearchResult.getStyle() |
Style |
ToponymSearchCriteria.getStyle() |
Style |
Toponym.getStyle() |
Style |
PostalCodeSearchCriteria.getStyle() |
static Style |
Style.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Style[] |
Style.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ToponymSearchResult |
WebService.children(int geonameId,
java.lang.String language,
Style style)
returns the children in the administrative hierarchy of a toponym.
|
static ToponymSearchResult |
WebService.children(int geonameId,
java.lang.String language,
Style style,
int maxRows) |
static java.util.List<Toponym> |
WebService.hierarchy(int geonameId,
java.lang.String language,
Style style)
returns the hierarchy for a geonameId
|
static ToponymSearchResult |
WebService.neighbours(int geonameId,
java.lang.String language,
Style style)
returns the neighbours of a toponym.
|
static ToponymSearchResult |
WebService.search(java.lang.String q,
java.lang.String countryCode,
java.lang.String name,
java.lang.String[] featureCodes,
int startRow,
java.lang.String language,
Style style,
java.lang.String exactName)
convenience method for
WebService.search(ToponymSearchCriteria)
The string fields will be transparently utf8 encoded within the call. |
static void |
WebService.setDefaultStyle(Style defaultStyle) |
void |
ToponymSearchResult.setStyle(Style style) |
void |
ToponymSearchCriteria.setStyle(Style style) |
void |
Toponym.setStyle(Style style) |
void |
PostalCodeSearchCriteria.setStyle(Style style) |