* if not, why it is not
*/
AttributeValidationResult validate(Attributes attributes) {
for (String name : requiredAttributes) {
if (!attributes.containsKey(name)) {
return new MissingRequiredAttribute(name);
}
}
for (Map.Entry<String, String> attribute : attributes.entrySet()) {
String name = attribute.getKey();
ValueValidator validator = valueValidators.get(name);