public class ValidationHandler extends Object implements ErrorHandler
| Constructor and Description |
|---|
ValidationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForErrors() |
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
List<SAXParseException> |
getErrors() |
List<SAXParseException> |
getFatalErrors() |
List<SAXParseException> |
getWarnings() |
boolean |
hasErrors() |
String |
userMessage() |
void |
validate(de.pdark.decentxml.Document doc) |
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<SAXParseException> getWarnings()
public List<SAXParseException> getErrors()
public List<SAXParseException> getFatalErrors()
public String userMessage()
public void validate(de.pdark.decentxml.Document doc)
throws IOException,
SAXException
IOExceptionSAXExceptionpublic boolean hasErrors()
public void checkForErrors()
throws ValidationException
ValidationExceptionCopyright © 2011–2014 Red Hat. All rights reserved.