Import#
TODO
Options#
These properties can be defined in the configuration file in the import-export-parameters-default-value module.
iidm.import.xml.throw-exception-if-extension-not-found
The iidm.import.xml.throw-exception-if-extension-not-found
property is an optional property that defines if the XIIDM importer throws an exception while trying to import an unknown or undeserializable extension or if it just ignores it. Its default value is false
.
iidm.import.xml.extensions
The iidm.import.xml.extensions
property is an optional property that defines the list of extensions that will be imported by the XIIDM importer. By default, all extensions will be imported.
Deprecated properties#
throwExceptionIfExtensionNotFound
The throwExceptionIfExtensionNotFound
property is deprecated since v2.0.0. Use the iidm.import.xml.throw-exception-if-extension-not-found
property instead.
Removed properties#
iidm.import.xml.import-mode
The iidm.import.xml.import-mode
property is an optional property that defines the import mode of the XIIDM importer.
Its possible values are :
UNIQUE_FILE
: Imports the network and its extensions from a unique file.EXTENSIONS_IN_ONE_SEPARATED_FILE
: Imports the network from a file and the extensions from another file. In this mode, if the network file name is network.xiidm, the extension file name must be network-ext.xiidm.ONE_SEPARATED_FILE_PER_EXTENSION_TYPE
: Imports the network from a file and each extension type from a separate file. In this mode, if the network file name isnetwork.xiidm
, each extension file name must benetwork-extensionName.xiidm
. Example: if our network has two extensionsloadFoo
andloadBar
, then the network will be imported from thenetwork.xiidm
file andloadFoo
andloadBar
will be imported respectively fromnetwork-loadFoo.xiidm
andnetwork-loadBar.xiidm
.
The default value of this parameter is NO_SEPARATED_FILE_FOR_EXTENSIONS
. This property has been removed in v3.3.0.