Constructor and Description |
---|
HTML5Validator() |
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.
|
public void setDocument(InputStream document)
Validator
setDocument
in interface Validator
document
- document to validatepublic List<ValidationError> validate()
Validator
public List<ValidationError> getErrors()
Validator
public void clear()
Validator
Copyright © 2004–2021 XWiki. All rights reserved.