org.marc4j.marcxml
Class SaxErrorHandler
java.lang.Object
org.marc4j.marcxml.SaxErrorHandler
- All Implemented Interfaces:
- ErrorHandler
- public class SaxErrorHandler
- extends Object
- implements ErrorHandler
SaxErrorHandler
is a SAX2 ErrorHandler
implementation.
- Version:
- $Revision: 1.4 $
- Author:
- Bas Peters
- See Also:
ErrorHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERR_PRINT
public static final int ERR_PRINT
- See Also:
- Constant Field Values
ERR_IGNORE
public static final int ERR_IGNORE
- See Also:
- Constant Field Values
WARN_PRINT
public static final int WARN_PRINT
- See Also:
- Constant Field Values
FATAL_PRINT
public static final int FATAL_PRINT
- See Also:
- Constant Field Values
FATAL_IGNORE
public static final int FATAL_IGNORE
- See Also:
- Constant Field Values
SaxErrorHandler
public SaxErrorHandler()
SaxErrorHandler
public SaxErrorHandler(int flags)
error
public void error(SAXParseException e)
throws SAXParseException
- Specified by:
error
in interface ErrorHandler
- Throws:
SAXParseException
fatalError
public void fatalError(SAXParseException e)
throws SAXParseException
- Specified by:
fatalError
in interface ErrorHandler
- Throws:
SAXParseException
warning
public void warning(SAXParseException e)
throws SAXParseException
- Specified by:
warning
in interface ErrorHandler
- Throws:
SAXParseException
printParseException
public static String printParseException(String label,
SAXParseException e)
Copyright © 2001-2004 Bas Peters. All Rights Reserved.