nu.validator.htmlparser.test
Class ListErrorHandler

java.lang.Object
  extended by nu.validator.htmlparser.test.ListErrorHandler
All Implemented Interfaces:
ErrorHandler

public class ListErrorHandler
extends Object
implements ErrorHandler


Field Summary
private  LinkedList<String> errors
           
private  boolean fatal
           
 
Constructor Summary
ListErrorHandler()
           
 
Method Summary
 void error(SAXParseException spe)
           
 void fatalError(SAXParseException arg0)
           
 LinkedList<String> getErrors()
          Returns the errors.
 boolean isFatal()
          Returns the fatal.
 void warning(SAXParseException arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fatal

private boolean fatal

errors

private LinkedList<String> errors
Constructor Detail

ListErrorHandler

public ListErrorHandler()
Method Detail

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