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