xml.parser
Class ErrorListErrorHandler
java.lang.Object
xml.parser.ErrorListErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
public class ErrorListErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
An ErrorHandler redirecting errors to ErrorList
- Version:
- $Id: ErrorListErrorHandler.java 20811 2012-01-15 15:40:14Z kerik-sf $
- Author:
- kerik-sf
|
Constructor Summary |
ErrorListErrorHandler(errorlist.DefaultErrorSource errorSource,
java.lang.String defaultPath)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorListErrorHandler
public ErrorListErrorHandler(errorlist.DefaultErrorSource errorSource,
java.lang.String defaultPath)
error
public void error(org.xml.sax.SAXParseException spe)
- Specified by:
error in interface org.xml.sax.ErrorHandler
warning
public void warning(org.xml.sax.SAXParseException spe)
- Specified by:
warning in interface org.xml.sax.ErrorHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXParseException
- Specified by:
fatalError in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXParseException
setDefaultPath
public void setDefaultPath(java.lang.String defaultPath)
getDefaultPath
public java.lang.String getDefaultPath()
getErrorSource
public errorlist.DefaultErrorSource getErrorSource()