public class ValidationErrorHandler
extends java.lang.Object
implements org.xml.sax.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(org.xml.sax.SAXParseException exception) |
void |
fatalError(org.xml.sax.SAXParseException exception) |
int |
getErrorCount() |
java.util.List<ValidationErrorHandler.ErrorRecord> |
getErrors() |
int |
getFatalCount() |
int |
getWarningCount() |
void |
setContext(java.io.File context) |
void |
warning(org.xml.sax.SAXParseException exception) |
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
warning in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionpublic void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionpublic void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
fatalError in interface org.xml.sax.ErrorHandlerorg.xml.sax.SAXExceptionpublic java.util.List<ValidationErrorHandler.ErrorRecord> getErrors()
public int getWarningCount()
public int getErrorCount()
public int getFatalCount()
public void setContext(java.io.File context)
Copyright © 2006–2025 MojoHaus. All rights reserved.