return obj;
}
public void marshal(RegistryObject object,Element parent)
{
SaveBusiness request = (SaveBusiness)object;
Element element = parent.getOwnerDocument().createElementNS(null,TAG_NAME);
AbstractHandler handler = null;
String generic = request.getGeneric();
if (generic != null)
element.setAttribute("generic",generic);
AuthInfo authInfo = request.getAuthInfo();
if (authInfo != null)
{
handler = maker.lookup(AuthInfoHandler.TAG_NAME);
handler.marshal(authInfo,element);
}
Vector businessVector = request.getBusinessEntityVector();
if ((businessVector!=null) && (businessVector.size() > 0))
{
handler = maker.lookup(BusinessEntityHandler.TAG_NAME);
for (int i=0; i<businessVector.size(); i++)
handler.marshal((BusinessEntity)businessVector.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);