return obj;
}
public void marshal(RegistryObject object,Element parent)
{
SavePublisher request = (SavePublisher)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 vector = request.getPublisherVector();
if ((vector!=null) && (vector.size() > 0))
{
handler = maker.lookup(PublisherHandler.TAG_NAME);
for (int i=0; i<vector.size(); i++)
handler.marshal((Publisher)vector.elementAt(i),element);