|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.TidyMessage.Level
public static final class TidyMessage.Level
Message severity enumeration.
Field Summary | |
---|---|
static TidyMessage.Level |
ERROR
level = error (3). |
static TidyMessage.Level |
INFO
level = info (1). |
static TidyMessage.Level |
SUMMARY
level = summary (0). |
static TidyMessage.Level |
WARNING
level = warning (2). |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
|
boolean |
equals(java.lang.Object object)
|
static TidyMessage.Level |
fromCode(int code)
Returns the Level instance corresponding to the given int value. |
short |
getCode()
Returns the int value for this level. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final TidyMessage.Level SUMMARY
public static final TidyMessage.Level INFO
public static final TidyMessage.Level WARNING
public static final TidyMessage.Level ERROR
Method Detail |
---|
public short getCode()
public static TidyMessage.Level fromCode(int code)
code
- int value for the level
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(Object)
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |