return obj;
}
public void marshal(RegistryObject object,Element parent)
{
ServiceDetail detail = (ServiceDetail)object;
String generic = detail.getGeneric();
generic = getGeneric(generic);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
AbstractHandler handler = null;
element.setAttribute("generic",generic);
String operator = detail.getOperator();
if (operator != null)
element.setAttribute("operator",operator);
else
element.setAttribute("operator","");
boolean truncated = detail.isTruncated();
if (truncated)
element.setAttribute("truncated","true");
Vector vector = detail.getBusinessServiceVector();
if ((vector!=null) && (vector.size() > 0))
{
handler = maker.lookup(BusinessServiceHandler.TAG_NAME);
for (int i=0; i < vector.size(); i++)
handler.marshal((BusinessService)vector.elementAt(i),element);