public static enum OverpassSearch.OverpassFormatType extends Enum<OverpassSearch.OverpassFormatType>
| Modifier and Type | Method and Description |
|---|---|
static OverpassSearch.OverpassFormatType |
fromString(String inputValue)
Static method to get an enum based on a string value.
|
String |
toString()
This method is annotated with
JsonValue,
so that jackson will serialize the enum value to
the (lowercase) value. |
static OverpassSearch.OverpassFormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OverpassSearch.OverpassFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverpassSearch.OverpassFormatType XML
public static final OverpassSearch.OverpassFormatType JSON
public static final OverpassSearch.OverpassFormatType CSV
public static final OverpassSearch.OverpassFormatType CUSTOM
public static final OverpassSearch.OverpassFormatType POPUP
public static OverpassSearch.OverpassFormatType[] values()
for (OverpassSearch.OverpassFormatType c : OverpassSearch.OverpassFormatType.values()) System.out.println(c);
public static OverpassSearch.OverpassFormatType 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 static OverpassSearch.OverpassFormatType fromString(String inputValue)
JsonCreator,
which allows the client to send case insensitive string
values (like "jSon"), which will be converted to the
correct enum value.inputValue - public String toString()
JsonValue,
so that jackson will serialize the enum value to
the (lowercase) value.toString in class Enum<OverpassSearch.OverpassFormatType>Copyright © 2020 terrestris GmbH & Co. KG. All rights reserved.