@Override
protected HDIVValidations createInstance() throws Exception {
// create HDIVvalidations instance for XML config
HDIVValidations validations = new HDIVValidations();
Map<PatternMatcher, List<IValidation>> urls = new HashMap<PatternMatcher, List<IValidation>>();
for (String url : this.validationsData.keySet()) {
List<String> ids = validationsData.get(url);
PatternMatcher matcher = this.patternMatcherFactory.getPatternMatcher(url);
urls.put(matcher, this.createValidationList(ids));
}
validations.setUrls(urls);
return validations;
}