XML tune export progress

This commit is contained in:
rusefi 2020-05-16 20:09:50 -04:00
parent 9b838f9eff
commit 1ba8baafd2
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ public class XmlUtil {
JAXBContext jaxbContext = JAXBContext.newInstance(modelClass);
Marshaller marshaller = jaxbContext.createMarshaller();
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
StringWriter xmlWriter = new StringWriter();
marshaller.marshal(instance, xmlWriter);