return obj;
}
public void marshal(RegistryObject object,Element parent)
{
PublisherAssertion assertion = (PublisherAssertion)object;
String generic = getGeneric(null);
String namespace = getUDDINamespace(generic);
Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);
AbstractHandler handler = null;
String fromKey = assertion.getFromKey();
if (fromKey != null)
{
Element fkElement = parent.getOwnerDocument().createElementNS(namespace,"fromKey");
fkElement.appendChild(parent.getOwnerDocument().createTextNode(fromKey));
element.appendChild(fkElement);
}
String toKey = assertion.getToKey();
if (toKey != null)
{
Element tkElement = parent.getOwnerDocument().createElementNS(namespace,"toKey");
tkElement.appendChild(parent.getOwnerDocument().createTextNode(toKey));
element.appendChild(tkElement);
}
KeyedReference keyedRef = assertion.getKeyedReference();
if (keyedRef != null)
{
handler = maker.lookup(KeyedReferenceHandler.TAG_NAME);
handler.marshal(keyedRef,element);
}