if (!cd.getParentMethodName().equals("addElement"))
rule.setAttribute("parent-method", cd.getParentMethodName());
for (Iterator j = cd.getAttributeMappings().iterator(); j.hasNext();)
{
AttributeMappingDescriptor amd = (AttributeMappingDescriptor) j.next();
Element map = _document.createElement("map");
map.setAttribute("attribute", amd.getAttributeName());
map.setAttribute("property", amd.getPropertyName());
rule.appendChild(map);
}
}
else