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: 
- ErrorHandler
- public class ValidatingErrorHandler 
- extends Object- implements 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
 
 
| 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(SAXParseException e)
             throws SAXException
- 
- Specified by:
- warningin interface- ErrorHandler
 
- 
- Throws:
- SAXException
 
error
public void error(SAXParseException e)
           throws SAXException
- 
- Specified by:
- errorin interface- ErrorHandler
 
- 
- Throws:
- SAXException
 
fatalError
public void fatalError(SAXParseException e)
                throws SAXException
- 
- Specified by:
- fatalErrorin interface- ErrorHandler
 
- 
- Throws:
- SAXException
 
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.