Class DOMErrorMonitor

java.lang.Object
org.loboevolution.html.dom.domimpl.DOMErrorMonitor
All Implemented Interfaces:
DOMErrorHandler

public class DOMErrorMonitor extends Object implements DOMErrorHandler
This is a utility implementation of EventListener that captures all events and provides access to lists of all events by mode
  • Constructor Details

    • DOMErrorMonitor

      public DOMErrorMonitor()
  • Method Details

    • handleError

      public boolean handleError(DOMError error)
      Implementation of DOMErrorHandler.handleError that adds copy of error to list for later retrieval.
      Specified by:
      handleError in interface DOMErrorHandler
    • assertLowerSeverity

      public boolean assertLowerSeverity(int severity)