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) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void captureRetainedErrors(XPathException xe)
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.