Package com.powsybl.entsoe.util
Class EntsoeAreaXmlSerializer
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionXmlSerializer<Substation,EntsoeArea>
-
- com.powsybl.entsoe.util.EntsoeAreaXmlSerializer
-
- All Implemented Interfaces:
ExtensionProvider<Substation,EntsoeArea>
,ExtensionXmlSerializer<Substation,EntsoeArea>
,Versionable
@AutoService(ExtensionXmlSerializer.class) public class EntsoeAreaXmlSerializer extends AbstractExtensionXmlSerializer<Substation,EntsoeArea>
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description EntsoeAreaXmlSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntsoeArea
read(Substation substation, XmlReaderContext context)
void
write(EntsoeArea country, 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(EntsoeArea country, XmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
read
public EntsoeArea read(Substation substation, XmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
-