return obj;
}
public void marshal(RegistryObject object,Element parent)
{
SaveTModel request = (SaveTModel)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 tModelVector = request.getTModelVector();
if ((tModelVector!=null) && (tModelVector.size() > 0))
{
handler = maker.lookup(TModelHandler.TAG_NAME);
for (int i=0; i<tModelVector.size(); i++)
handler.marshal((TModel)tModelVector.elementAt(i),element);
}
Vector urVector = request.getUploadRegisterVector();
if ((urVector!=null) && (urVector.size() > 0))
{
handler = maker.lookup(UploadRegisterHandler.TAG_NAME);
for (int i=0; i<urVector.size(); i++)
handler.marshal((UploadRegister)urVector.elementAt(i),element);