public static enum Query.ResultFormat extends java.lang.Enum<Query.ResultFormat>
Enum Constant and Description |
---|
ATOM |
ATOM_IN_SCRIPT |
ATOM_SERVICE |
DEFAULT |
JSON |
JSON_IN_SCRIPT |
JSON_XD |
JSONC |
JSONC_IN_SCRIPT |
RSS |
RSS_IN_SCRIPT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
paramValue()
Returns the value to use for the "alt" parameter.
|
static Query.ResultFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Query.ResultFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.ResultFormat DEFAULT
public static final Query.ResultFormat ATOM
public static final Query.ResultFormat RSS
public static final Query.ResultFormat JSON
public static final Query.ResultFormat JSONC
public static final Query.ResultFormat ATOM_IN_SCRIPT
public static final Query.ResultFormat RSS_IN_SCRIPT
public static final Query.ResultFormat JSON_IN_SCRIPT
public static final Query.ResultFormat JSONC_IN_SCRIPT
public static final Query.ResultFormat JSON_XD
public static final Query.ResultFormat ATOM_SERVICE
public static Query.ResultFormat[] values()
for (Query.ResultFormat c : Query.ResultFormat.values()) System.out.println(c);
public static Query.ResultFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String paramValue()