return obj;
}
public void marshal(RegistryObject object,Element parent)
{
SaveBinding request = (SaveBinding)object;
Element element = parent.getOwnerDocument().createElement(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 bindingVector = request.getBindingTemplateVector();
if ((bindingVector!=null) && (bindingVector.size() > 0))
{
handler = maker.lookup(BindingTemplateHandler.TAG_NAME);
for (int i=0; i<bindingVector.size(); i++)
handler.marshal((BindingTemplate)bindingVector.elementAt(i),element);