// Path: src/main/java/fr/inria/gforge/spoon/logging/ReportBuilderImpl.java
// enum ReportKey {
// 	PROJECT_NAME, FRAGMENT_MODE, PROCESSORS, MODULE_NAME, INPUT, OUTPUT, SOURCE_CLASSPATH, PERFORMANCE
// }
// 
// Path: src/main/java/fr/inria/gforge/spoon/logging/ReportBuilderImpl.java
// enum ReportKey {
// 	PROJECT_NAME, FRAGMENT_MODE, PROCESSORS, MODULE_NAME, INPUT, OUTPUT, SOURCE_CLASSPATH, PERFORMANCE
// }


import org.w3c.dom.Document;
import org.w3c.dom.Element;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import java.io.File;
import java.util.Map;
import static fr.inria.gforge.spoon.logging.ReportBuilderImpl.ReportKey;
import static fr.inria.gforge.spoon.logging.ReportBuilderImpl.ReportKey.*;
package fr.inria.gforge.spoon.logging;




class ReportDaoImpl implements ReportDao {
	private final File resultFile;

	ReportDaoImpl(File resultFile) {
		this.resultFile = resultFile;
	}

	@Override
// Path: src/main/java/fr/inria/gforge/spoon/logging/ReportBuilderImpl.java
// enum ReportKey {
// 	PROJECT_NAME, FRAGMENT_MODE, PROCESSORS, MODULE_NAME, INPUT, OUTPUT, SOURCE_CLASSPATH, PERFORMANCE
// }
// 
// Path: src/main/java/fr/inria/gforge/spoon/logging/ReportBuilderImpl.java
// enum ReportKey {
// 	PROJECT_NAME, FRAGMENT_MODE, PROCESSORS, MODULE_NAME, INPUT, OUTPUT, SOURCE_CLASSPATH, PERFORMANCE
// }


// Path: src/main/java/fr/inria/gforge/spoon/logging/ReportDaoImpl.java
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import java.io.File;
import java.util.Map;
import static fr.inria.gforge.spoon.logging.ReportBuilderImpl.ReportKey;
import static fr.inria.gforge.spoon.logging.ReportBuilderImpl.ReportKey.*;

package fr.inria.gforge.spoon.logging;




class ReportDaoImpl implements ReportDao {
	private final File resultFile;

	ReportDaoImpl(File resultFile) {
		this.resultFile = resultFile;
	}

	@Override
	public void save(Map<ReportBuilderImpl.ReportKey, Object> reportsData) {