com.thaiopensource.xml.sax
Class CountingErrorHandler
java.lang.Object
|
+--com.thaiopensource.xml.sax.CountingErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- public class CountingErrorHandler
- extends Object
- implements ErrorHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountingErrorHandler
public CountingErrorHandler()
CountingErrorHandler
public CountingErrorHandler(ErrorHandler errorHandler)
reset
public void reset()
getHadErrorOrFatalError
public boolean getHadErrorOrFatalError()
getFatalErrorCount
public int getFatalErrorCount()
getErrorCount
public int getErrorCount()
getWarningCount
public int getWarningCount()
getErrorHandler
public ErrorHandler getErrorHandler()
setErrorHandler
public void setErrorHandler(ErrorHandler errorHandler)
warning
public void warning(SAXParseException exception)
throws SAXException
- Specified by:
warning
in interface ErrorHandler
SAXException
error
public void error(SAXParseException exception)
throws SAXException
- Specified by:
error
in interface ErrorHandler
SAXException
fatalError
public void fatalError(SAXParseException exception)
throws SAXException
- Specified by:
fatalError
in interface ErrorHandler
SAXException