.hasNext();) {
Element ec = (Element) ei.next();
if (ec.getName().equals("definition")) {
PropertyDefinition def;
if (pc instanceof AttributesPropertyClass) {
def = new XMLAttributeDefinition(ec);
} else {
def = new XMLPropertyDefinition(ec);
}
propertyDefinitions.put(def.getName(), def);
pc.registerPropertyDefinition(def);