private void exportMappingsImpl(Transformation tf) {
try {
List<String> mappings = tf.getMapList();
Map<String, String> multipleFolders = tf.getRenamedNodes();
FileProducer fileFactory = new ExportFileProducer(tf, "_mappings.xml");
MappingsXmlWriter w = new MappingsXmlWriter(mappings, multipleFolders, fileFactory);
w.write();
} catch (IOException ex) {
ErrorLog.log(MappingImporterExporterImpl.class, "Failed to export the mappings: " + ex.getMessage(), ex);
}