public static class ParseXml.RetentiveErrorHandler extends Object implements ErrorHandler
| Modifier and Type | Field and Description |
|---|---|
List<SAXParseException> |
errors |
boolean |
failed |
| Constructor and Description |
|---|
RetentiveErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
captureRetainedErrors(XPathException xe) |
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
void |
warning(SAXParseException exception) |
public List<SAXParseException> errors
public boolean failed
public void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void warning(SAXParseException exception) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic void captureRetainedErrors(XPathException xe)
Copyright (c) 2004-2017 Saxonica Limited. All rights reserved.