return obj;
}
public void marshal(RegistryObject object,Element parent)
{
AddPublisherAssertions request = (AddPublisherAssertions)object;
Element element = parent.getOwnerDocument().createElement(TAG_NAME);
String generic = request.getGeneric();
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);