Package org.apache.openjpa.lib.xml
Class ValidatingErrorHandler
- java.lang.Object
- 
- org.apache.openjpa.lib.xml.ValidatingErrorHandler
 
- 
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
 
 public class ValidatingErrorHandler extends java.lang.Object implements org.xml.sax.ErrorHandlerErrorHandler implementation which overrides the default behavior of ignoring parse errors to throw aSAXExceptioninstead. This handler is used by the validating parsers of theXMLFactory.- Author:
- Abe White
 
- 
- 
Constructor SummaryConstructors Constructor Description ValidatingErrorHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(org.xml.sax.SAXParseException e)voidfatalError(org.xml.sax.SAXParseException e)voidwarning(org.xml.sax.SAXParseException e)
 
- 
- 
- 
Method Detail- 
warningpublic 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
 
 - 
errorpublic 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
 
 - 
fatalErrorpublic 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
 
 
- 
 
-