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