public enum Context extends Enum<Context>
| Enum Constant and Description |
|---|
BIBLIOGRAPHY |
CITATION |
| Modifier and Type | Method and Description |
|---|---|
static Context |
fromString(String str)
Converts the given string to a Context
|
String |
toString() |
static Context |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Context CITATION
public static final Context BIBLIOGRAPHY
public static Context[] values()
for (Context c : Context.values()) System.out.println(c);
public static Context 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