org.eclipse.persistence.jaxb
Class JAXBErrorHandler
java.lang.Object
org.eclipse.persistence.jaxb.JAXBErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
public class JAXBErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
Constructor Summary |
JAXBErrorHandler(javax.xml.bind.ValidationEventHandler validationEventHandler)
|
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
javax.xml.bind.ValidationEventHandler |
getValidationEventHandler()
|
void |
warning(org.xml.sax.SAXParseException exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBErrorHandler
public JAXBErrorHandler(javax.xml.bind.ValidationEventHandler validationEventHandler)
warning
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
error
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
getValidationEventHandler
public javax.xml.bind.ValidationEventHandler getValidationEventHandler()