static void |
IidmXmlUtil.assertMaximumVersion(String elementName,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion maxVersion,
NetworkXmlWriterContext context) |
Assert that the writer context's IIDM-XML version equals or is less recent than a given IIDM-XML version.
|
static void |
IidmXmlUtil.assertMaximumVersion(String rootElementName,
String elementName,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion maxVersion,
NetworkXmlWriterContext context) |
Assert that the writer context's IIDM-XML version equals or is less recent than a given IIDM-XML version.
|
static void |
IidmXmlUtil.assertMinimumVersion(String elementName,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion minVersion,
NetworkXmlWriterContext context) |
Assert that the writer context's IIDM-XML version equals or is more recent than a given IIDM-XML version.
|
static void |
IidmXmlUtil.assertMinimumVersion(String rootElementName,
String elementName,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion minVersion,
NetworkXmlWriterContext context) |
Assert that the writer context's IIDM-XML version equals or is more recent than a given IIDM-XML version.
|
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 void |
IidmXmlUtil.assertMinimumVersionIfNotDefault(boolean valueIsNotDefault,
String rootElementName,
String elementName,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion minVersion,
NetworkXmlWriterContext context) |
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 void |
IidmXmlUtil.assertStrictMaximumVersion(String rootElementName,
String elementName,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion maxVersion,
NetworkXmlWriterContext context) |
Assert that the writer context's IIDM-XML version is strictly older than a given IIDM-XML version.
|
static void |
IidmXmlUtil.writeBooleanAttributeFromMinimumVersion(String rootElementName,
String attributeName,
boolean value,
boolean defaultValue,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion minVersion,
NetworkXmlWriterContext context) |
Write a mandatory boolean attribute from a given minimum IIDM-XML version.
If the context's IIDM-XML version is strictly older than the given minimum IIDM-XML version, the attribute's value should be default
(else an exception is thrown).
|
static void |
IidmXmlUtil.writeDoubleAttributeFromMinimumVersion(String rootElementName,
String attributeName,
double value,
double defaultValue,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion minVersion,
NetworkXmlWriterContext context) |
Write a double attribute from a given minimum IIDM-XML version if its value is defined.
If the context's IIDM-XML version is strictly older than the given minimum IIDM-XML version, the attribute's value should be default
(else an exception is thrown).
|
static void |
IidmXmlUtil.writeDoubleAttributeFromMinimumVersion(String rootElementName,
String attributeName,
double value,
IidmXmlUtil.ErrorMessage type,
IidmXmlVersion minVersion,
NetworkXmlWriterContext context) |
Write a double attribute from a given minimum IIDM-XML version if its value is defined.
If the context's IIDM-XML version is strictly older than the given minimum IIDM-XML version, the attribute's value should be undefined i.e.
|
static void |
IidmXmlUtil.writeIntAttributeUntilMaximumVersion(String attributeName,
int value,
IidmXmlVersion maxVersion,
NetworkXmlWriterContext context) |
Write a mandatory int attribute until a given maximum IIDM-XML version.
|