Class DOMErrorMonitor
java.lang.Object
org.loboevolution.html.dom.domimpl.DOMErrorMonitor
- All Implemented Interfaces:
DOMErrorHandler
This is a utility implementation of EventListener
that captures all events and provides access
to lists of all events by mode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
assertLowerSeverity
(int severity) boolean
handleError
(DOMError error) Implementation of DOMErrorHandler.handleError that adds copy of error to list for later retrieval.
-
Constructor Details
-
DOMErrorMonitor
public DOMErrorMonitor()
-
-
Method Details
-
handleError
Implementation of DOMErrorHandler.handleError that adds copy of error to list for later retrieval.- Specified by:
handleError
in interfaceDOMErrorHandler
-
assertLowerSeverity
public boolean assertLowerSeverity(int severity)
-