public interface Validator
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the list of validation errors.
|
List<ValidationError> |
getErrors()
Get the list of validation errors.
|
String |
getName() |
void |
setDocument(InputStream document)
Set document to validate.
|
List<ValidationError> |
validate()
Run validation.
|
void setDocument(InputStream document)
document
- document to validateList<ValidationError> validate()
List<ValidationError> getErrors()
void clear()
String getName()
Copyright © 2004–2021 XWiki. All rights reserved.