com.sun.xml.bind
Class ErrorHandlerToEventHandler
java.lang.Object
com.sun.xml.bind.ErrorHandlerToEventHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
Deprecated. since 1.0.1
We no longer use this class in the unmarshaller.
public class ErrorHandlerToEventHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
An ErrorHandler that accepts a SAXParseException from the ValidatingUnmarshaller,
creates a ValidationEvent, and passes it onto the client app's ValidationEventHandler.
- Since:
- 1.0
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
Deprecated. |
void |
fatalError(org.xml.sax.SAXParseException exception)
Deprecated. |
void |
warning(org.xml.sax.SAXParseException exception)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorHandlerToEventHandler
public ErrorHandlerToEventHandler(ValidationEventHandler handler,
Locator locator)
- Deprecated.
error
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Deprecated.
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
warning
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Deprecated.
- Specified by:
warning
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
- Deprecated.
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException