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