Package org.djutils.data
Class TestXMLData
java.lang.Object
org.djutils.data.TestXMLData
public class TestXMLData extends Object
TestXMLData tests writing and reading of a XML file, and checks that all data is read back correctly into the DataTable.
Copyright (c) 2020-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Copyright (c) 2020-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description TestXMLData()
-
Method Summary
Modifier and Type Method Description void
testreadWriteXML()
test reading and writing of a XML file.
-
Constructor Details
-
TestXMLData
public TestXMLData()
-
-
Method Details
-
testreadWriteXML
public void testreadWriteXML() throws IOException, org.djutils.data.serialization.TextSerializationException, XMLStreamExceptiontest reading and writing of a XML file.- Throws:
IOException
- on errororg.djutils.data.serialization.TextSerializationException
- on unknown data type for (de)serializationXMLStreamException
- on XML error
-