public enum WeatherMode extends Enum<WeatherMode>
Modifier and Type | Method and Description |
---|---|
static WeatherMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherMode HTML
public static final WeatherMode JSON
public static final WeatherMode XML
public static WeatherMode[] values()
for (WeatherMode c : WeatherMode.values()) System.out.println(c);
public static WeatherMode 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 nullApache Camel