return obj;
}
public void marshal(RegistryObject object,Element parent)
{
SharedRelationships relationships = (SharedRelationships)object;
Element element = parent.getOwnerDocument().createElement(TAG_NAME);
Vector keyedRefVector = relationships.getKeyedReferenceVector();
if ((keyedRefVector!=null) && (keyedRefVector.size() > 0))
{
AbstractHandler handler = maker.lookup(KeyedReferenceHandler.TAG_NAME);
for (int i=0; i < keyedRefVector.size(); i++)
handler.marshal((KeyedReference)keyedRefVector.elementAt(i),element);