nu.validator.htmlparser.test
Class ListErrorHandler
java.lang.Object
nu.validator.htmlparser.test.ListErrorHandler
- All Implemented Interfaces:
- ErrorHandler
public class ListErrorHandler
- extends Object
- implements ErrorHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fatal
private boolean fatal
errors
private LinkedList<String> errors
ListErrorHandler
public ListErrorHandler()
error
public void error(SAXParseException spe)
throws SAXException
- Specified by:
error
in interface ErrorHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException arg0)
throws SAXException
- Specified by:
fatalError
in interface ErrorHandler
- Throws:
SAXException
warning
public void warning(SAXParseException arg0)
throws SAXException
- Specified by:
warning
in interface ErrorHandler
- Throws:
SAXException
getErrors
public LinkedList<String> getErrors()
- Returns the errors.
- Returns:
- the errors
isFatal
public boolean isFatal()
- Returns the fatal.
- Returns:
- the fatal