public static enum QueryParameter.Type extends java.lang.Enum<QueryParameter.Type>
Enum Constant and Description |
---|
AUTHOR
Author query parameter.
|
CATEGORY
Category query parameter.
|
OPENED_MAX
Opened-max query parameter.
|
OPENED_MIN
Opened-min query parameter.
|
OWNER
Owner query parameter.
|
Q
Q query parameter.
|
READER
Reader query parameter.
|
TITLE
Title query parameter.
|
TITLE_EXACT
Title-exact query parameter.
|
UPDATED_MAX
Updated-max query parameter.
|
UPDATED_MIN
Updated-min query parameter.
|
WRITER
Writer query parameter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toValue()
Returns the value used in the XML.
|
static QueryParameter.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueryParameter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryParameter.Type AUTHOR
public static final QueryParameter.Type CATEGORY
public static final QueryParameter.Type OPENED_MAX
public static final QueryParameter.Type OPENED_MIN
public static final QueryParameter.Type OWNER
public static final QueryParameter.Type Q
public static final QueryParameter.Type READER
public static final QueryParameter.Type TITLE
public static final QueryParameter.Type TITLE_EXACT
public static final QueryParameter.Type UPDATED_MAX
public static final QueryParameter.Type UPDATED_MIN
public static final QueryParameter.Type WRITER
public static QueryParameter.Type[] values()
for (QueryParameter.Type c : QueryParameter.Type.values()) System.out.println(c);
public static QueryParameter.Type 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 toValue()