Class ValidationProblem

java.lang.Object
org.xmlunit.validation.ValidationProblem

public class ValidationProblem extends Object
A validation "problem" which may be an error or a warning.
  • Field Details

    • UNKNOWN

      public static final int UNKNOWN
      Constant used for unknown location information.
      See Also:
    • line

      private final int line
    • column

      private final int column
    • type

      private final ValidationProblem.ProblemType type
    • message

      private final String message
  • Constructor Details

    • ValidationProblem

      public ValidationProblem(String message, int line, int column, ValidationProblem.ProblemType type)
      Creates a ValidationProblem for the given message and location of the given type.
      Parameters:
      message - the problem message
      line - line where the problem occurs
      column - column where the problem occurs
      type - type of problem
  • Method Details