Uses of Interface
com.powsybl.iidm.xml.util.IidmXmlUtil.IidmXmlRunnable
-
Packages that use IidmXmlUtil.IidmXmlRunnable Package Description com.powsybl.iidm.xml.util -
-
Uses of IidmXmlUtil.IidmXmlRunnable in com.powsybl.iidm.xml.util
Methods in com.powsybl.iidm.xml.util with parameters of type IidmXmlUtil.IidmXmlRunnable Modifier and Type Method Description static void
IidmXmlUtil. assertMinimumVersionAndRunIfNotDefault(boolean valueIsNotDefault, String rootElementName, String elementName, IidmXmlUtil.ErrorMessage type, IidmXmlVersion minVersion, NetworkXmlReaderContext context, IidmXmlUtil.IidmXmlRunnable runnable)
Assert that the reader context's IIDM-XML version equals or is more recent than a given IIDM-XML version if the value of an attribute or the state of an equipment is not default (interpretable for previous versions).static void
IidmXmlUtil. assertMinimumVersionAndRunIfNotDefault(boolean valueIsNotDefault, String rootElementName, String elementName, IidmXmlUtil.ErrorMessage type, IidmXmlVersion minVersion, NetworkXmlWriterContext context, IidmXmlUtil.IidmXmlRunnable runnable)
Assert that the writer context's IIDM-XML version equals or is more recent than a given IIDM-XML version if the value of an attribute or the state of an equipment is not default (interpretable for previous versions).static <C extends AbstractNetworkXmlContext>
voidIidmXmlUtil. runFromMinimumVersion(IidmXmlVersion minVersion, C context, IidmXmlUtil.IidmXmlRunnable runnable)
Run a given runnable if the context's IIDM-XML version equals or is more recent than a given minimum IIDM-XML version.static <C extends AbstractNetworkXmlContext>
voidIidmXmlUtil. runUntilMaximumVersion(IidmXmlVersion maxVersion, C context, IidmXmlUtil.IidmXmlRunnable runnable)
Run a given runnable if the context's IIDM-XML version equals or is older than a given maximum IIDM-XML version.
-