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 "com.gargoylesoftware.htmlunit.html.HTMLParserListener" log.Errors are logged at the error level and warnings at the warning level. |
static final HTMLParserListener LOG_REPORTER
HTMLParserListener
logging the received warnings
and errors in the "com.gargoylesoftware.htmlunit.html.HTMLParserListener" log.void error(String message, URL url, int line, int column, String key)
message
- the description of the problemurl
- the URL of the document 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, int line, int column, String key)
message
- the description of the problemurl
- the URL of the document in which the problem occursline
- the line of the problemcolumn
- the column of the problemkey
- the key identifying the "type" of problemCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.