public enum ResponseFormat extends Enum<ResponseFormat>
| Modifier and Type | Method and Description |
|---|---|
static ResponseFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseFormat XML
public static final ResponseFormat JSON
public static final ResponseFormat UNDEFINED
public static ResponseFormat[] values()
for (ResponseFormat c : ResponseFormat.values()) System.out.println(c);
public static ResponseFormat 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 nullCopyright © 2017 etc.to. All rights reserved.