|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A listener for messages from the HTMLParser. This provides a mechanism to watch for errors and warnings generated during parsing.
Method Summary | |
void |
error(java.net.URL url,
java.lang.String msg,
int line,
int column)
Invoked when the parser wishes to report an error. |
void |
warning(java.net.URL url,
java.lang.String msg,
int line,
int column)
Invoked when the parser wishes to report a warning. |
Method Detail |
public void warning(java.net.URL url, java.lang.String msg, int line, int column)
url
- the location of the document to which the warning applies.msg
- the warning messageline
- the line in the document on which the problematic HTML was foundcolumn
- the column in the document on which the problematic HTML was foundpublic void error(java.net.URL url, java.lang.String msg, int line, int column)
url
- the location of the document to which the error applies.msg
- the warning messageline
- the line in the document on which the problematic HTML was foundcolumn
- the column in the document on which the problematic HTML was found
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |