Package org.xmlunit.validation
Class ValidationResult
java.lang.Object
org.xmlunit.validation.ValidationResult
The result of a validation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidationResult
(boolean valid, Iterable<ValidationProblem> problems) Creates a result based on a valid flag and an Iterable of iteration problems. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the problems that have been found.boolean
isValid()
Has the validation been successful?
-
Field Details
-
valid
private final boolean valid -
problems
-
-
Constructor Details
-
ValidationResult
Creates a result based on a valid flag and an Iterable of iteration problems.
-
-
Method Details
-
isValid
public boolean isValid()Has the validation been successful?A successful validation results in no validation problems of type ERROR.
-
getProblems
Retrieves the problems that have been found.
-