com.canoo.webtest.steps
Class HtmlParserMessage.MessageCollector
java.lang.Object
com.canoo.webtest.steps.HtmlParserMessage.MessageCollector
- All Implemented Interfaces:
- com.gargoylesoftware.htmlunit.html.HTMLParserListener
- Enclosing class:
- HtmlParserMessage
public static class HtmlParserMessage.MessageCollector
- extends Object
- implements com.gargoylesoftware.htmlunit.html.HTMLParserListener
Listener collecting the messages from parser.
| Fields inherited from interface com.gargoylesoftware.htmlunit.html.HTMLParserListener |
LOG_REPORTER |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlParserMessage.MessageCollector
public HtmlParserMessage.MessageCollector()
error
public void error(String message,
URL url,
int line,
int column,
String key)
- Specified by:
error in interface com.gargoylesoftware.htmlunit.html.HTMLParserListener
warning
public void warning(String message,
URL url,
int line,
int column,
String key)
- Specified by:
warning in interface com.gargoylesoftware.htmlunit.html.HTMLParserListener
popAll
public List popAll()
- Gets all messages received since last call to this method.
- Returns:
- a list of
HtmlParserMessage