return obj;
}
public void marshal(RegistryObject object,Element parent)
{
AddPublisherAssertions request = (AddPublisherAssertions)object;
String generic = request.getGeneric();
generic = getGeneric(generic);
String nameSpace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(nameSpace,TAG_NAME);
if (generic != null)
element.setAttribute("generic",generic);
AuthInfo authInfo = request.getAuthInfo();
if (authInfo != null)
{
AbstractHandler handler = maker.lookup(AuthInfoHandler.TAG_NAME);
handler.marshal(authInfo,element);
}
Vector vector = request.getPublisherAssertionVector();
if ((vector != null) && (vector.size() > 0))
{
AbstractHandler handler = maker.lookup(PublisherAssertionHandler.TAG_NAME);
for (int i=0; i<vector.size(); i++)
handler.marshal(((PublisherAssertion)vector.elementAt(i)),element);