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); } } XMLExporter();  XMLExporter(PlatformConfig platformConfig); @Override String getFormat(); @Override String getComment(); @Override void export(Network network, Properties parameters, DataSource dataSource); static final String INDENT; static final String WITH_BRANCH_STATE_VARIABLES; static final String ONLY_MAIN_CC; static final String ANONYMISED; static final String TOPOLOGY_LEVEL; static final String THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND; static final String EXTENSIONS_LIST; static final String VERSION; }
@Test public void exportTest() throws IOException { exporterTest(MultipleExtensionsTestNetworkFactory.create(), CURRENT_IIDM_XML_VERSION); }