Package com.powsybl.cgmes.extensions
Class CimCharacteristicsXmlSerializer
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionXmlSerializer<Network,CimCharacteristics>
-
- com.powsybl.cgmes.extensions.CimCharacteristicsXmlSerializer
-
- All Implemented Interfaces:
ExtensionProvider<Network,CimCharacteristics>
,ExtensionXmlSerializer<Network,CimCharacteristics>
,Versionable
@AutoService(ExtensionXmlSerializer.class) public class CimCharacteristicsXmlSerializer extends AbstractExtensionXmlSerializer<Network,CimCharacteristics>
- Author:
- Miora Ralambotiana
-
-
Constructor Summary
Constructors Constructor Description CimCharacteristicsXmlSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CimCharacteristics
read(Network extendable, XmlReaderContext context)
void
write(CimCharacteristics extension, 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, getXsdAsStreamList, isSerializable
-
-
-
-
Method Detail
-
write
public void write(CimCharacteristics extension, XmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
read
public CimCharacteristics read(Network extendable, XmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
-