public class ValidationResult extends Object
Constructor and Description |
---|
ValidationResult(boolean valid,
Iterable<ValidationProblem> problems)
Creates a result based on a valid flag and an Iterable of
iteration problems.
|
Modifier and Type | Method and Description |
---|---|
Iterable<ValidationProblem> |
getProblems()
Retrieves the problems that have been found.
|
boolean |
isValid()
Has the validation been successful?
|
public ValidationResult(boolean valid, Iterable<ValidationProblem> problems)
public boolean isValid()
A successful validation results in no validation problems of type ERROR.
public Iterable<ValidationProblem> getProblems()
Copyright © 2001–2017 XMLUnit. All rights reserved.