Description
The org.apache.commons.validator.ValidatorResults does not contain any method which gives me a consolidated result. As a developer i am interested in knowing whether all the validations are true. Only if there is any failure i will go through the individual ValidatorResult. But ValidatorResults doesnt provide me such a method. Because of this each time i run the Validator.validate method i get a ValidatorResults and i need to parse through each ValidatorResult in ValidatorResults to know whether the validation is successful.
If there is a method in ValidatorResults which will give me a consolidated result probably a boolean true then i need not parse the ValidatorResults for each field and check whether it is validated.