- java.lang.Object
-
- com.powsybl.iidm.xml.XMLImporter
-
- All Implemented Interfaces:
Importer
@AutoService(com.powsybl.iidm.import_.Importer.class) public class XMLImporter extends Object implements Importer
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXTENSIONS_LIST
static String
THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description XMLImporter()
XMLImporter(PlatformConfig platformConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
boolean
exists(ReadOnlyDataSource dataSource)
String
getComment()
String
getFormat()
List<Parameter>
getParameters()
Network
importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.iidm.import_.Importer
importData, importData
-
-
-
-
Field Detail
-
THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND
public static final String THROW_EXCEPTION_IF_EXTENSION_NOT_FOUND
- See Also:
- Constant Field Values
-
EXTENSIONS_LIST
public static final String EXTENSIONS_LIST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XMLImporter
public XMLImporter()
-
XMLImporter
public XMLImporter(PlatformConfig platformConfig)
-
-
Method Detail
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParameters
in interfaceImporter
-
getComment
public String getComment()
- Specified by:
getComment
in interfaceImporter
-
exists
public boolean exists(ReadOnlyDataSource dataSource)
-
copy
public void copy(ReadOnlyDataSource fromDataSource, DataSource toDataSource)
-
importData
public Network importData(ReadOnlyDataSource dataSource, NetworkFactory networkFactory, Properties parameters)
- Specified by:
importData
in interfaceImporter
-
-