public static enum GeonamesAPIWrapper.SearchRequestPropertyEnum extends Enum<GeonamesAPIWrapper.SearchRequestPropertyEnum>
| Enum Constant and Description |
|---|
adminCode1
level1 admin code to restrict the search
|
adminCode2
level2 admin code to restrict the search
|
adminCode3
level3 admin code to restrict the search
|
continentCode
Restrict search to an continent
|
country
the ISO 3166 code of countries to restrict the search
|
featureClass
Feature Class of searched entities (multiple possible)
|
featureCode
Restrict search to one or more specific feature codes
|
lang
The language of the parsed name.
|
maxRows
the maximum number of results (must be < 1000).
|
name
search Toponyms by name
|
startRow
the index of the first result returned
|
style
The detail level of the response.
|
token
The token required for requests of premium accounts
|
type
The encoding of the results.
|
username
Can be used to parse the user name needed for premium accounts
|
| Modifier and Type | Method and Description |
|---|---|
RequestProperty |
getProperty() |
String |
toString() |
static GeonamesAPIWrapper.SearchRequestPropertyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeonamesAPIWrapper.SearchRequestPropertyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum name
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum maxRows
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum startRow
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum country
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum continentCode
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum adminCode1
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum adminCode2
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum adminCode3
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum featureClass
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum featureCode
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum lang
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum type
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum style
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum username
public static final GeonamesAPIWrapper.SearchRequestPropertyEnum token
public static GeonamesAPIWrapper.SearchRequestPropertyEnum[] values()
for (GeonamesAPIWrapper.SearchRequestPropertyEnum c : GeonamesAPIWrapper.SearchRequestPropertyEnum.values()) System.out.println(c);
public static GeonamesAPIWrapper.SearchRequestPropertyEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic RequestProperty getProperty()
public String toString()
toString in class Enum<GeonamesAPIWrapper.SearchRequestPropertyEnum>Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.