public interface ValidationResponse
See ValidatorBuilder for explanation of how to get an instance
of this interface.
Implementation may be mutable but thread-safe.
ValidatorBuilder,
Validator.validate(String),
W3C API, HTML,
W3C API, CSS| Modifier and Type | Method and Description |
|---|---|
Charset |
charset()
Charset of the document, if detected by the server (may be empty
if charset is not detected or it's a CSS document).
|
URI |
checkedBy()
Who checked the document (normally contains a URL of W3C server).
|
String |
doctype()
DOCTYPE of the document, if detected by the validator (may be empty
if
DOCTYPE is not detected or if it's a CSS document). |
Set<Defect> |
errors()
Returns list of errors found during validation.
|
boolean |
valid()
The document is valid and has no errors or warnings?
|
Set<Defect> |
warnings()
Returns lsit of warnings found during validation.
|
boolean valid()
URI checkedBy()
String doctype()
DOCTYPE is not detected or if it's a CSS document).Charset charset()
"UTF-8"Set<Defect> errors()
Copyright © 2012–2016 jcabi.com. All rights reserved.