for (MZmineProcessingStep item : modulesWithParams) {
Element newElement = parentDocument.createElement("module");
newElement.setAttribute("name", item.getModule().getName());
ParameterSet moduleParameters = item.getParameterSet();
if (moduleParameters != null)
moduleParameters.saveValuesToXML(newElement);
xmlElement.appendChild(newElement);
}
}
@Override