public class XMLErrorHandler extends Object implements ErrorHandler
ErrorHandler
to stored found errors.Constructor and Description |
---|
XMLErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addError(ValidationError error) |
void |
clear()
Clear the list of validation errors.
|
void |
error(SAXParseException e) |
void |
fatalError(SAXParseException e) |
List<ValidationError> |
getErrors() |
void |
warning(SAXParseException e) |
public void clear()
public void warning(SAXParseException e)
warning
in interface ErrorHandler
public void error(SAXParseException e)
error
in interface ErrorHandler
public void fatalError(SAXParseException e)
fatalError
in interface ErrorHandler
public List<ValidationError> getErrors()
public void addError(ValidationError error)
error
- an errorCopyright © 2004–2021 XWiki. All rights reserved.