Class ReferenceTerminalsSerDe
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionSerDe<Network,ReferenceTerminals>
com.powsybl.iidm.serde.extensions.ReferenceTerminalsSerDe
- All Implemented Interfaces:
ExtensionProvider<Network,
,ReferenceTerminals> ExtensionSerDe<Network,
,ReferenceTerminals> Versionable
@AutoService(ExtensionSerDe.class)
public class ReferenceTerminalsSerDe
extends AbstractExtensionSerDe<Network,ReferenceTerminals>
- Author:
- Damien Jeandemange <damien.jeandemange at artelys.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProvides the map whose keys are the array field names and whose values are the single element field names.boolean
isSerializable
(ReferenceTerminals extension) Check if an extension can be serialized or not.read
(Network extendable, DeserializerContext context) void
write
(ReferenceTerminals extension, SerializerContext context) Methods inherited from class com.powsybl.commons.extensions.AbstractExtensionSerDe
getCategoryName, getExtensionClass, getExtensionName, getNamespacePrefix, getNamespaceUri, getVersion, getXsdAsStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.commons.extensions.ExtensionSerDe
checkExtensionVersionSupported, getName, getNamespaceUri, getVersion, getVersions, getXsdAsStreamList
-
Field Details
-
REFERENCE_TERMINAL_ROOT_ELEMENT_NAME
- See Also:
-
-
Constructor Details
-
ReferenceTerminalsSerDe
public ReferenceTerminalsSerDe()
-
-
Method Details
-
getArrayNameToSingleNameMap
Description copied from interface:ExtensionSerDe
Provides the map whose keys are the array field names and whose values are the single element field names. This is used to deduce the name of an element inside and array. -
write
-
read
-
isSerializable
Description copied from interface:ExtensionSerDe
Check if an extension can be serialized or not.- Parameters:
extension
- the extension to check- Returns:
- true if the extension can be serialized, false otherwise
-