Package org.djutils.data
Class TestXmlTable
java.lang.Object
org.djutils.data.TestXmlTable
TestXmlData tests writing and reading of a XML file, and checks that all data is read back correctly into the Table. 
 
Copyright (c) 2020-2025 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-2025 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 - 
Method Summary
Modifier and TypeMethodDescriptionvoidtest reading and writing of a XML file with "missing values" coded as null values.voidtest reading and writing of a XML file with columns that treat units in different ways.voidtest reading and writing of a XML file. 
- 
Constructor Details
- 
TestXmlTable
public TestXmlTable() 
 - 
 - 
Method Details
- 
testreadWriteXML
@Test public void testreadWriteXML() throws IOException, TextSerializationException, XMLStreamExceptiontest reading and writing of a XML file.- Throws:
 IOException- on errorTextSerializationException- on unknown data type for (de)serializationXMLStreamException- on XML error
 - 
testReadWriteCsvNulls
@Test public void testReadWriteCsvNulls() throws IOException, TextSerializationException, XMLStreamExceptiontest reading and writing of a XML file with "missing values" coded as null values.- Throws:
 IOException- on errorTextSerializationException- on unknown data type for (de)serializationXMLStreamException- on XML error
 - 
testReadWriteCsvUnits
@Test public void testReadWriteCsvUnits() throws IOException, TextSerializationException, XMLStreamExceptiontest reading and writing of a XML file with columns that treat units in different ways.- Throws:
 IOException- on errorTextSerializationException- on unknown data type for (de)serializationXMLStreamException- on XML error
 
 -