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