return obj;
}
public void marshal(RegistryObject object,Element parent)
{
FindBinding request = (FindBinding)object;
String generic = request.getGeneric();
generic = getGeneric(generic);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
AbstractHandler handler = null;
String key = request.getServiceKey();
if (key != null)
element.setAttribute("serviceKey",key);
element.setAttribute("generic",generic);
int maxRows = request.getMaxRows();
if (maxRows > 0)
element.setAttribute("maxRows",String.valueOf(maxRows));
FindQualifiers qualifiers = request.getFindQualifiers();
if ((qualifiers != null) && (qualifiers.size() > 0))
{
handler = maker.lookup(FindQualifiersHandler.TAG_NAME);
handler.marshal(qualifiers,element);
}
CategoryBag catBag = request.getCategoryBag();
if (catBag != null)
{
handler = maker.lookup(CategoryBagHandler.TAG_NAME);
handler.marshal(catBag,element);
}
TModelBag bag = request.getTModelBag();
if (bag != null)
{
handler = maker.lookup(TModelBagHandler.TAG_NAME);
handler.marshal(bag,element);
}