org.apache.openjpa.lib.xml
Class ValidatingErrorHandler
java.lang.Object
   org.apache.openjpa.lib.xml.ValidatingErrorHandler
org.apache.openjpa.lib.xml.ValidatingErrorHandler
- All Implemented Interfaces: 
- org.xml.sax.ErrorHandler
- public class ValidatingErrorHandler 
- extends java.lang.Object- implements org.xml.sax.ErrorHandler
ErrorHandler implementation which overrides the default
 behavior of ignoring parse errors to throw a SAXException instead.
 This handler is used by the validating parsers of the XMLFactory.
- Author:
- Abe White
 
| Method Summary | 
|  void | error(org.xml.sax.SAXParseException e)
 | 
|  void | fatalError(org.xml.sax.SAXParseException e)
 | 
|  void | warning(org.xml.sax.SAXParseException e)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ValidatingErrorHandler
public ValidatingErrorHandler()
warning
public void warning(org.xml.sax.SAXParseException e)
             throws org.xml.sax.SAXException
- 
- Specified by:
- warningin interface- org.xml.sax.ErrorHandler
 
- 
- Throws:
- org.xml.sax.SAXException
 
error
public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXException
- 
- Specified by:
- errorin interface- org.xml.sax.ErrorHandler
 
- 
- Throws:
- org.xml.sax.SAXException
 
fatalError
public void fatalError(org.xml.sax.SAXParseException e)
                throws org.xml.sax.SAXException
- 
- Specified by:
- fatalErrorin interface- org.xml.sax.ErrorHandler
 
- 
- Throws:
- org.xml.sax.SAXException
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.