return obj;
}
public void marshal(RegistryObject object,Element parent)
{
FindTModel request = (FindTModel)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);
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);
}
Name name = request.getName();
if (name != null)
{
handler = maker.lookup(NameHandler.TAG_NAME);
handler.marshal(name,element);
}
IdentifierBag idBag = request.getIdentifierBag();
if (idBag != null)
{
handler = maker.lookup(IdentifierBagHandler.TAG_NAME);
handler.marshal(idBag,element);
}
CategoryBag catBag = request.getCategoryBag();
if (catBag != null)
{
handler = maker.lookup(CategoryBagHandler.TAG_NAME);
handler.marshal(catBag,element);
}