Package com.powsybl.iidm.xml.extensions
Class ActivePowerControlXmlSerializer<T extends Injection<T>>
- java.lang.Object
-
- com.powsybl.iidm.xml.extensions.AbstractVersionableNetworkExtensionXmlSerializer<T,ActivePowerControl<T>>
-
- com.powsybl.iidm.xml.extensions.ActivePowerControlXmlSerializer<T>
-
- All Implemented Interfaces:
ExtensionProvider<T,ActivePowerControl<T>>
,ExtensionXmlSerializer<T,ActivePowerControl<T>>
,Versionable
@AutoService(ExtensionXmlSerializer.class) public class ActivePowerControlXmlSerializer<T extends Injection<T>> extends AbstractVersionableNetworkExtensionXmlSerializer<T,ActivePowerControl<T>>
- Author:
- Ghiles Abdellah
-
-
Constructor Summary
Constructors Constructor Description ActivePowerControlXmlSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getXsdAsStream()
Return the XSD schema describing the extension to serialize in the latest version of its serialization.List<InputStream>
getXsdAsStreamList()
Return the list of all XSD schemas describing the extension to serialize.ActivePowerControl<T>
read(T identifiable, XmlReaderContext context)
void
write(ActivePowerControl<T> activePowerControl, XmlWriterContext context)
-
Methods inherited from class com.powsybl.iidm.xml.extensions.AbstractVersionableNetworkExtensionXmlSerializer
checkExtensionVersionSupported, checkReadingCompatibility, checkWritingCompatibility, getCategoryName, getExtensionClass, getExtensionName, getNamespacePrefix, getNamespaceUri, getNamespaceUri, getVersion, getVersion, getVersions, hasSubElements, versionExists
-
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.ExtensionXmlSerializer
getName, isSerializable
-
-
-
-
Method Detail
-
write
public void write(ActivePowerControl<T> activePowerControl, XmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
getXsdAsStream
public InputStream getXsdAsStream()
Description copied from interface:ExtensionXmlSerializer
Return the XSD schema describing the extension to serialize in the latest version of its serialization.
-
getXsdAsStreamList
public List<InputStream> getXsdAsStreamList()
Description copied from interface:ExtensionXmlSerializer
Return the list of all XSD schemas describing the extension to serialize.
There is a distinct XSD schema for each version of its serialization.
-
read
public ActivePowerControl<T> read(T identifiable, XmlReaderContext context)
-
-