com.bitplan.w3ccheck
Class W3CValidator.Body.ValidationResponse

java.lang.Object
  extended by com.bitplan.w3ccheck.W3CValidator.Body.ValidationResponse
Enclosing class:
W3CValidator.Body

public static class W3CValidator.Body.ValidationResponse
extends Object

The main element of the validation response. Encloses all other information about the validation results.

Author:
wf
 <m:markupvalidationresponse env:encodingStyle="http://www.w3.org/2003/05/soap-encoding" xmlns:m="http://www.w3.org/2005/10/markup-validator">
 ...
 </m:markupvalidationresponse>
 
 

Nested Class Summary
static class W3CValidator.Body.ValidationResponse.Errors
          wrapped list of validation errors structurally equivalent to Warnings
static class W3CValidator.Body.ValidationResponse.ValidationAtom
          base class for ValidationError and ValidationWarning containing e.g. line, col and message
static class W3CValidator.Body.ValidationResponse.Warnings
          wrapped list of validation warnings structurally equivalent to Errors
 
Field Summary
 String charset
          Detected (or forced) Character Encoding for the validated document
 String checkedby
          Location of the service which provided the validation result.
 String doctype
          Detected (or forced) Document Type for the validated document
 W3CValidator.Body.ValidationResponse.Errors errors
          Encapsulates all data about errors encountered through the validation process {@code ...
 String uri
          the address of the document validated.
 boolean validity
          Whether or not the document validated passed or not formal validation (true|false boolean)
 W3CValidator.Body.ValidationResponse.Warnings warnings
          Encapsulates all data about warnings encountered through the validation process {@code ...
 
Constructor Summary
W3CValidator.Body.ValidationResponse()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

public String uri
the address of the document validated. Will (likely?) be upload://Form Submission if an uploaded document or fragment was validated. In EARL terms, this is the TestSubject.


checkedby

public String checkedby
Location of the service which provided the validation result. In EARL terms, this is the Assertor


doctype

public String doctype
Detected (or forced) Document Type for the validated document


charset

public String charset
Detected (or forced) Character Encoding for the validated document


validity

public boolean validity
Whether or not the document validated passed or not formal validation (true|false boolean)


errors

public W3CValidator.Body.ValidationResponse.Errors errors
Encapsulates all data about errors encountered through the validation process
 <m:errors>
 ...
 </m:errors>
 
 


warnings

public W3CValidator.Body.ValidationResponse.Warnings warnings
Encapsulates all data about warnings encountered through the validation process
 <m:warnings>
 ...
 </m:warnings>
 
 

Constructor Detail

W3CValidator.Body.ValidationResponse

public W3CValidator.Body.ValidationResponse()


Copyright © 2014. All rights reserved.