public static enum ParserNotice.Level extends java.lang.Enum<ParserNotice.Level>
| Enum Constant and Description |
|---|
ERROR
Indicates an error notice.
|
INFO
Indicates an informational notice.
|
WARNING
Indicates a warning notice.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumericValue()
Returns the value of this notice level, as an integer.
|
boolean |
isEqualToOrWorseThan(ParserNotice.Level other)
Returns whether this level is as sever as, or worse than, another
level.
|
static ParserNotice.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParserNotice.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserNotice.Level INFO
public static final ParserNotice.Level WARNING
public static final ParserNotice.Level ERROR
public static ParserNotice.Level[] values()
for (ParserNotice.Level c : ParserNotice.Level.values()) System.out.println(c);
public static ParserNotice.Level 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 int getNumericValue()
public boolean isEqualToOrWorseThan(ParserNotice.Level other)
other - The other level.