return obj;
}
public void marshal(RegistryObject object,Element parent)
{
Phone phone = (Phone)object;
String generic = getGeneric(null);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
String useType = phone.getUseType();
if ((useType != null) && (useType.trim().length() > 0))
element.setAttribute("useType",useType);
String phoneValue = phone.getValue();
if (phoneValue != null)
element.appendChild(parent.getOwnerDocument().createTextNode(phoneValue));
parent.appendChild(element);
}