Class VoltageRegulationSerDe

All Implemented Interfaces:
ExtensionProvider<Battery,VoltageRegulation>, ExtensionSerDe<Battery,VoltageRegulation>, Versionable

@AutoService(ExtensionSerDe.class) public class VoltageRegulationSerDe extends AbstractVersionableNetworkExtensionSerDe<Battery,VoltageRegulation>
Author:
Coline Piloquet <[email protected]>
  • Constructor Details

    • VoltageRegulationSerDe

      public VoltageRegulationSerDe()
  • Method Details

    • getXsdAsStream

      public InputStream getXsdAsStream()
      Description copied from interface: ExtensionSerDe
      Return the XSD schema describing the extension to serialize in the latest version of its XML serialization.
    • getXsdAsStreamList

      public List<InputStream> getXsdAsStreamList()
      Description copied from interface: ExtensionSerDe
      Return the list of all XSD schemas describing the extension to serialize.
      There is a distinct XSD schema for each version of its XML serialization.
    • write

      public void write(VoltageRegulation voltageRegulation, SerializerContext context)
    • read

      public VoltageRegulation read(Battery battery, DeserializerContext context)