code: public Document serialiseToDocument(final Object obj)
  	{
  		final Document document = DOMUtils.createDocumentBuilder().newDocument();
  
  		serialise(obj, document);
  
  		return document;
  	}
docs: Helper method to serialise an Object to an org.w3c.dom.Document
  
  @param obj
  the object to serialise
  
  @return a new Document containing the serialised form of the provided Object