class XMLExporter implements Exporter {

    @Override
    public void export(Network network, Properties parameters, DataSource dataSource) {
        if (network == null) {
            throw new IllegalArgumentException("network is null");
        }
        ExportOptions options = createExportOptions(parameters);
        try {
            long startTime = System.currentTimeMillis();
            NetworkXml.write(network, options, dataSource, "xiidm");
            LOGGER.debug("XIIDM export done in {} ms", System.currentTimeMillis() - startTime);
        } catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }

    public  XMLExporter();
    public  XMLExporter(PlatformConfig platformConfig);

}