code: protected void writeObject(Object o)
  	{
  		if (o == null)
  		{
  			return;
  		}
  		getPersistenceDelegate(o.getClass()).writeObject(o, this);
  	}
docs: Encode the given object into a series of statements and expressions.
  <p>
  The implementation simply finds the <code>PersistenceDelegate</code> responsible for the object's class, and delegate the call to it.
  </p>
  
  @param o
  the object to encode