// }
final AttributesImpl attrs = new AttributesImpl();
//startElement("custom-properties-definition", handler);
for (int i=0; i<definitions.size(); i++) {
//ResourceColumn nextField = (ResourceColumn) fields.next();
CustomPropertyDefinition nextDefinition = (CustomPropertyDefinition) definitions.get(i);
addAttribute("id", nextDefinition.getID(), attrs);
addAttribute("name", nextDefinition.getName(), attrs);
addAttribute("type", nextDefinition.getTypeAsString(), attrs);
addAttribute("default-value", nextDefinition.getDefaultValueAsString(), attrs);
emptyElement("custom-property-definition", attrs, handler);
}
//endElement("custom-properties-definition", handler);
}