return obj;
}
public void marshal(RegistryObject object,Element parent)
{
DeletePublisher request = (DeletePublisher)object;
String generic = request.getGeneric();
generic = getGeneric(generic);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
AbstractHandler handler = null;
element.setAttribute("generic",generic);
AuthInfo authInfo = request.getAuthInfo();
if (authInfo != null)
{
handler = maker.lookup(AuthInfoHandler.TAG_NAME);
handler.marshal(authInfo,element);
}
Vector idVector = request.getPublisherIDVector();
if ((idVector!=null) && (idVector.size() > 0))
{
handler = maker.lookup(PublisherIDHandler.TAG_NAME);
for (int i=0; i<idVector.size(); i++)
handler.marshal(new PublisherID((String)idVector.elementAt(i)),element);