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 ErrorHandlerSAXExceptionpublic void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic List<ValidationErrorHandler.ErrorRecord> getErrors()
public int getWarningCount()
public int getErrorCount()
public int getFatalCount()
public void setContext(File context)
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.