return obj;
}
public void marshal(RegistryObject object,Element parent)
{
FindPublisher request = (FindPublisher)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);
}