| Modifier and Type | Method and Description |
|---|---|
static Qualifier |
fromToken(java.lang.String s)
Returns a
Qualifier instance given a lowercase token string. |
java.lang.String |
toString() |
static Qualifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Qualifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Qualifier CONST
public static final Qualifier PARAM
public static Qualifier[] values()
for (Qualifier c : Qualifier.values()) System.out.println(c);
public static Qualifier 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 static Qualifier fromToken(java.lang.String s)
Qualifier instance given a lowercase token string.
For example, given "param", this method will return
Qualifier.PARAM.public java.lang.String toString()
toString in class java.lang.Enum<Qualifier>