public class ValidationErrorHandler extends Object implements ErrorHandler
Modifier and Type | Class and Description |
---|---|
class |
ValidationErrorHandler.ErrorRecord |
static class |
ValidationErrorHandler.ErrorType |
Constructor and Description |
---|
ValidationErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
int |
getErrorCount() |
List<ValidationErrorHandler.ErrorRecord> |
getErrors() |
int |
getFatalCount() |
int |
getWarningCount() |
void |
setContext(File context) |
void |
warning(SAXParseException exception) |
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
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 List<ValidationErrorHandler.ErrorRecord> getErrors()
public int getWarningCount()
public int getErrorCount()
public int getFatalCount()
public void setContext(File context)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.