public Document toDocument(Project project) { DocumentFactory docFactory = new DocumentFactory(); Document document = docFactory.createDocument(); Dom4JXMLOutput treeBuilder = new Dom4JXMLOutput(document);  try { writeXML(treeBuilder, project); } catch (IOException e) {  }  return document; }
public Document toDocument(Project project);
	public Document toDocument(Project project) {		DocumentFactory docFactory = new DocumentFactory();		Document document = docFactory.createDocument();		Dom4JXMLOutput treeBuilder = new Dom4JXMLOutput(document);		try {			writeXML(treeBuilder, project);		} catch (IOException e) {			// Can't happen		}		return document;	}