public interface HTMLParserListener
| Modifier and Type | Field and Description |
|---|---|
static HTMLParserListener |
LOG_REPORTER
Simple implementation of
HTMLParserListener logging the received warnings
and errors in the "org.htmlunit.html.HTMLParserListener" log. |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String message,
URL url,
String html,
int line,
int column,
String key)
Called when the HTML parser reports an error.
|
void |
warning(String message,
URL url,
String html,
int line,
int column,
String key)
Called when the HTML parser reports a warning.
|
static final HTMLParserListener LOG_REPORTER
HTMLParserListener logging the received warnings
and errors in the "org.htmlunit.html.HTMLParserListener" log.void error(String message, URL url, String html, int line, int column, String key)
message - the description of the problemurl - the URL of the document in which the problem occurshtml - the content of the snippet in which the problem occursline - the line of the problemcolumn - the column of the problemkey - the key identifying the "type" of problemvoid warning(String message, URL url, String html, int line, int column, String key)
message - the description of the problemurl - the URL of the document in which the problem occurshtml - the content of the snippet in which the problem occursline - the line of the problemcolumn - the column of the problemkey - the key identifying the "type" of problemCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.