|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tidy.TidyMessage
public final class TidyMessage
Message sent to listeners for validation errors/warnings and info.
Tidy.setMessageListener(TidyMessageListener)
Nested Class Summary | |
---|---|
static class |
TidyMessage.Level
Message severity enumeration. |
Constructor Summary | |
---|---|
TidyMessage(int errorCode,
int line,
int column,
TidyMessage.Level level,
java.lang.String message)
Instantiates a new message. |
Method Summary | |
---|---|
int |
getColumn()
Getter for column . |
int |
getErrorCode()
Getter for errorCode . |
TidyMessage.Level |
getLevel()
Getter for level . |
int |
getLine()
Getter for line . |
java.lang.String |
getMessage()
Getter for message . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TidyMessage(int errorCode, int line, int column, TidyMessage.Level level, java.lang.String message)
errorCode
- Tidy internal error code.line
- Line number in the source filecolumn
- Column number in the source filelevel
- severitymessage
- message textMethod Detail |
---|
public int getErrorCode()
errorCode
.
public int getColumn()
column
.
public TidyMessage.Level getLevel()
level
.
public int getLine()
line
.
public java.lang.String getMessage()
message
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |