Package com.powsybl.iidm.xml.extensions
Class GeneratorShortCircuitXmlSerializer
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionXmlSerializer<Generator,GeneratorShortCircuit>
-
- com.powsybl.iidm.xml.extensions.GeneratorShortCircuitXmlSerializer
-
- All Implemented Interfaces:
ExtensionProvider<Generator,GeneratorShortCircuit>
,ExtensionXmlSerializer<Generator,GeneratorShortCircuit>
,Versionable
@AutoService(ExtensionXmlSerializer.class) public class GeneratorShortCircuitXmlSerializer extends AbstractExtensionXmlSerializer<Generator,GeneratorShortCircuit>
- Author:
- Coline Piloquet
-
-
Constructor Summary
Constructors Constructor Description GeneratorShortCircuitXmlSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratorShortCircuit
read(Generator generator, XmlReaderContext context)
void
write(GeneratorShortCircuit generatorShortCircuit, XmlWriterContext context)
-
Methods inherited from class com.powsybl.commons.extensions.AbstractExtensionXmlSerializer
getCategoryName, getExtensionClass, getExtensionName, getNamespacePrefix, getNamespaceUri, getXsdAsStream, hasSubElements
-
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
checkExtensionVersionSupported, getName, getNamespaceUri, getVersion, getVersions, getXsdAsStreamList, isSerializable
-
-
-
-
Method Detail
-
write
public void write(GeneratorShortCircuit generatorShortCircuit, XmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
read
public GeneratorShortCircuit read(Generator generator, XmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
-