org.w3c.domts
Class DOMErrorMonitor
java.lang.Object
org.w3c.domts.DOMErrorMonitor
- DOMErrorHandler
public class DOMErrorMonitor
extends java.lang.Object
implements DOMErrorHandler
This is a utility implementation of EventListener
that captures all events and provides access
to lists of all events by mode
DOMErrorMonitor
public DOMErrorMonitor()
Public constructor
assertLowerSeverity
public void assertLowerSeverity(DOMTestCase testCase,
String id,
int severity)
getAllErrors
public List getAllErrors()
Gets list of errors
handleError
public boolean handleError(DOMError error)
Implementation of DOMErrorHandler.handleError that
adds copy of error to list for later retrieval.