return obj;
}
public void marshal(RegistryObject object,Element parent)
{
DeleteSubscription request = (DeleteSubscription)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 keyVector = request.getSubscriptionKeyVector();
if ((keyVector!=null) && (keyVector.size() > 0))
{
handler = maker.lookup(SubscriptionKeyHandler.TAG_NAME);
for (int i=0; i<keyVector.size(); i++)
handler.marshal(new SubscriptionKey((String)keyVector.elementAt(i)),element);