@AutoService(value=Exporter.class) public class XMLExporter extends java.lang.Object implements Exporter
property name | comment | possible values |
iidm.export.xml.indent | if true write indented xml (4 spaces) | true or false |
iidm.export.xml.with-branch-state-variables | if true export branches state (active and reactive flow) | true or false |
iidm.export.xml.only-main-cc | if true only export equipments of the main connected component | true or false |
iidm.export.xml.topology-level | the detail level used in the export of voltage levels | NODE_BREAKER, BUS_BREAKER, BUS_BRANCH |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANONYMISED |
static java.lang.String |
EXPORT_MODE |
static java.lang.String |
EXTENSIONS_LIST |
static java.lang.String |
INDENT |
static java.lang.String |
ONLY_MAIN_CC |
static java.lang.String |
SKIP_EXTENSIONS |
static java.lang.String |
THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND |
static java.lang.String |
TOPOLOGY_LEVEL |
static java.lang.String |
WITH_BRANCH_STATE_VARIABLES |
Constructor and Description |
---|
XMLExporter() |
XMLExporter(PlatformConfig platformConfig) |
Modifier and Type | Method and Description |
---|---|
void |
export(Network network,
java.util.Properties parameters,
DataSource dataSource)
Export a model.
|
java.lang.String |
getComment()
Get some information about this exporter.
|
java.lang.String |
getFormat()
Get a unique identifier of the format.
|
public static final java.lang.String INDENT
public static final java.lang.String WITH_BRANCH_STATE_VARIABLES
public static final java.lang.String ONLY_MAIN_CC
public static final java.lang.String ANONYMISED
public static final java.lang.String TOPOLOGY_LEVEL
public static final java.lang.String THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND
public static final java.lang.String EXPORT_MODE
public static final java.lang.String EXTENSIONS_LIST
public static final java.lang.String SKIP_EXTENSIONS
public XMLExporter()
public XMLExporter(PlatformConfig platformConfig)
public java.lang.String getFormat()
Exporter
public java.lang.String getComment()
Exporter
getComment
in interface Exporter
public void export(Network network, java.util.Properties parameters, DataSource dataSource)
Exporter