org.dom4j.util
public class XMLErrorHandler extends Object implements ErrorHandler
XMLErrorHandler is a SAX ErrorHandlerwhich turns the
SAX parsing errors into XML so that the output can be formatted using XSLT or
the errors can be included in a SOAP message.
Version: $Revision: 1.7 $
| Field Summary | |
|---|---|
| protected static QName | ERROR_QNAME |
| protected static QName | FATALERROR_QNAME |
| protected static QName | WARNING_QNAME |
| Constructor Summary | |
|---|---|
| XMLErrorHandler() | |
| XMLErrorHandler(Element errors) | |
| Method Summary | |
|---|---|
| protected void | addException(Element element, SAXParseException e)
Adds the given parse exception information to the given element instance
|
| void | error(SAXParseException e) |
| void | fatalError(SAXParseException e) |
| QName | getErrorQName() |
| Element | getErrors() |
| QName | getFatalErrorQName() |
| QName | getWarningQName() |
| void | setErrorQName(QName errorQName) |
| void | setErrors(Element errors) |
| void | setFatalErrorQName(QName fatalErrorQName) |
| void | setWarningQName(QName warningQName) |
| void | warning(SAXParseException e) |
Parameters: element DOCUMENT ME! e DOCUMENT ME!