Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes (contains the WebClient class which is the main entry point).
|
com.gargoylesoftware.htmlunit.html |
Classes specific to HTML pages, particularly the HtmlPage which represents
an HTML document and provides access to its content.
|
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–2014 Gargoyle Software Inc.. All rights reserved.