Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes
|
com.gargoylesoftware.htmlunit.html |
Classes specific to html pages
|
Modifier and Type | Method and Description |
---|---|
HTMLParserListener |
WebClient.getHTMLParserListener()
Gets the configured listener for messages generated by the html parser.
|
Modifier and Type | Method and Description |
---|---|
void |
WebClient.setHTMLParserListener(HTMLParserListener listener)
Defines a listener for messages generated by the html parser.
Note: If WebClient.getIgnoreOutsideContent() returns false , the parser
will ignore closing <body> and <html> tags to be able to handle html content
incorrectly located after the end of the html file. |
Modifier and Type | Field and Description |
---|---|
static HTMLParserListener |
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. |
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.