com.bitplan.w3ccheck
Class W3CValidator.Body.ValidationResponse.ValidationAtom

java.lang.Object
  extended by com.bitplan.w3ccheck.W3CValidator.Body.ValidationResponse.ValidationAtom
Direct Known Subclasses:
W3CValidator.Body.ValidationResponse.Errors.ValidationError, W3CValidator.Body.ValidationResponse.Warnings.ValidationWarning
Enclosing class:
W3CValidator.Body.ValidationResponse

public static class W3CValidator.Body.ValidationResponse.ValidationAtom
extends Object

base class for ValidationError and ValidationWarning containing e.g. line, col and message


Field Summary
 int col
          Within the source code of the validated document, refers to the column of the line where the error was detected.
 String explanation
          Explanation for the error.
 int line
          Within the source code of the validated document, refers to the line where the error was detected.
 String message
          The actual error message
 int messageid
          The number/identifier of the error, as addressed internally by the validator
 String source
          Snippet of the source where the error was found.
 
Constructor Summary
W3CValidator.Body.ValidationResponse.ValidationAtom()
           
 
Method Summary
 String toString()
          convert this W3CValidator to a human readable string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

public int line
Within the source code of the validated document, refers to the line where the error was detected.


col

public int col
Within the source code of the validated document, refers to the column of the line where the error was detected.


source

public String source
Snippet of the source where the error was found. Given as HTML fragment within CDATA block.


explanation

public String explanation
Explanation for the error. Given as HTML fragment within CDATA block.


messageid

public int messageid
The number/identifier of the error, as addressed internally by the validator


message

public String message
The actual error message

Constructor Detail

W3CValidator.Body.ValidationResponse.ValidationAtom

public W3CValidator.Body.ValidationResponse.ValidationAtom()
Method Detail

toString

public String toString()
convert this W3CValidator to a human readable string

Overrides:
toString in class Object


Copyright © 2014. All rights reserved.