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