Public constructor
Iterator iter = errors.iterator(); while (iter.hasNext()) { DOMError error = (DOMError) iter.next(); if (error.getSeverity() >= severity) { testCase.fail(id + error.getMessage()); } }
Gets list of errorsreturnreturn errors return new ArrayList(errors);
return new ArrayList(errors);
Implementation of DOMErrorHandler.handleError that adds copy of error to list for later retrieval. errors.add(new DOMErrorImpl(error)); return true;
errors.add(new DOMErrorImpl(error)); return true;