org.maltparser.ml.lib
Enum Lib.Verbostity
java.lang.Object
java.lang.Enum<Lib.Verbostity>
org.maltparser.ml.lib.Lib.Verbostity
- All Implemented Interfaces:
- Serializable, Comparable<Lib.Verbostity>
- Enclosing class:
- Lib
public static enum Lib.Verbostity
- extends Enum<Lib.Verbostity>
Method Summary |
static Lib.Verbostity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Lib.Verbostity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
SILENT
public static final Lib.Verbostity SILENT
ERROR
public static final Lib.Verbostity ERROR
ALL
public static final Lib.Verbostity ALL
values
public static Lib.Verbostity[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Lib.Verbostity c : Lib.Verbostity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Lib.Verbostity valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright 2007-2011 Johan Hall, Jens Nilsson and Joakim Nivre.