|
11 | 11 | import de.rub.nds.modifiablevariable.ModifiableVariable; |
12 | 12 | import de.rub.nds.modifiablevariable.ModificationFilter; |
13 | 13 | import de.rub.nds.modifiablevariable.VariableModification; |
| 14 | +import de.rub.nds.modifiablevariable.util.XMLPrettyPrinter; |
14 | 15 | import de.rub.nds.tlsattacker.core.protocol.message.ProtocolMessage; |
15 | 16 | import de.rub.nds.tlsattacker.core.protocol.message.extension.ExtensionMessage; |
16 | 17 | import de.rub.nds.tlsattacker.core.workflow.action.ReceiveAction; |
|
26 | 27 | import java.io.OutputStream; |
27 | 28 | import java.util.ArrayList; |
28 | 29 | import java.util.List; |
| 30 | +import java.util.logging.Level; |
| 31 | +import javax.imageio.IIOException; |
29 | 32 | import javax.xml.bind.JAXBContext; |
30 | 33 | import javax.xml.bind.JAXBException; |
31 | 34 | import javax.xml.bind.Marshaller; |
32 | 35 | import javax.xml.bind.Unmarshaller; |
| 36 | +import javax.xml.parsers.ParserConfigurationException; |
33 | 37 | import javax.xml.stream.XMLInputFactory; |
34 | 38 | import javax.xml.stream.XMLStreamException; |
35 | 39 | import javax.xml.stream.XMLStreamReader; |
| 40 | +import javax.xml.transform.TransformerException; |
| 41 | +import javax.xml.xpath.XPathExpressionException; |
| 42 | +import javax.xml.xpath.XPathFactoryConfigurationException; |
36 | 43 | import org.apache.logging.log4j.LogManager; |
37 | 44 | import org.apache.logging.log4j.Logger; |
| 45 | +import org.xml.sax.SAXException; |
38 | 46 |
|
39 | 47 | public class WorkflowTraceSerializer { |
40 | 48 |
|
@@ -107,7 +115,6 @@ public static void write(OutputStream outputStream, WorkflowTrace workflowTrace) |
107 | 115 | context = getJAXBContext(); |
108 | 116 | Marshaller m = context.createMarshaller(); |
109 | 117 | m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); |
110 | | - |
111 | 118 | m.marshal(workflowTrace, outputStream); |
112 | 119 | outputStream.close(); |
113 | 120 | } |
|
0 commit comments