private void registerCategory(IConfigurationElement el) {
if (!el.getName().equals(ELEMENT_CATEGORY)) {
return;
}
final Category category = ValidatorsFactory.eINSTANCE.createCategory();
category.setId(el.getAttribute(ATTR_ID));
category.setLabel(el.getAttribute(ATTR_LABEL));
category.setDescription(el.getAttribute(ATTR_DESCRIPTION));
categories.put(category.getId(), category);
}