Map<ValidationId, ValidationAction> validationMap = Maps.newHashMap();
validationMap.put(ValidationId.HTML_XML, new HtmlXmlTagValidation(
ValidationId.HTML_XML, validationMessages));
validationMap.put(ValidationId.JAVA_VARIABLES,
new JavaVariablesValidation(ValidationId.JAVA_VARIABLES,
validationMessages));
validationMap.put(ValidationId.NEW_LINE,
new NewlineLeadTrailValidation(ValidationId.NEW_LINE,
validationMessages));