public static enum GeonamesAPIWrapper.HierarchyRequestPorpertyEnum extends Enum<GeonamesAPIWrapper.HierarchyRequestPorpertyEnum>
| Enum Constant and Description |
|---|
geonameId
The ID of the Toponym the hierarchy is requested for
|
lang
Also not documented but supported is that the hierarchy service
supports the language attribute.
|
style
Even not documented also the hierarchy service does support the
style parameter as documented for the search service.
|
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.HierarchyRequestPorpertyEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeonamesAPIWrapper.HierarchyRequestPorpertyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeonamesAPIWrapper.HierarchyRequestPorpertyEnum geonameId
public static final GeonamesAPIWrapper.HierarchyRequestPorpertyEnum type
public static final GeonamesAPIWrapper.HierarchyRequestPorpertyEnum style
public static final GeonamesAPIWrapper.HierarchyRequestPorpertyEnum lang
public static final GeonamesAPIWrapper.HierarchyRequestPorpertyEnum username
public static final GeonamesAPIWrapper.HierarchyRequestPorpertyEnum token
public static GeonamesAPIWrapper.HierarchyRequestPorpertyEnum[] values()
for (GeonamesAPIWrapper.HierarchyRequestPorpertyEnum c : GeonamesAPIWrapper.HierarchyRequestPorpertyEnum.values()) System.out.println(c);
public static GeonamesAPIWrapper.HierarchyRequestPorpertyEnum 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.HierarchyRequestPorpertyEnum>Copyright © 2010–2016 The Apache Software Foundation. All rights reserved.