public class XmlErrorHandler extends Object implements ErrorHandler
Constructor and Description |
---|
XmlErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
List<SAXParseException> |
getErrors() |
List<SAXParseException> |
getWarnings() |
void |
logFindings(Log log,
String source) |
void |
warning(SAXParseException exception) |
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
public List<SAXParseException> getErrors()
public List<SAXParseException> getWarnings()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.