Package com.powsybl.iidm.serde
Class BusBreakerViewSwitchSerDe
java.lang.Object
com.powsybl.iidm.serde.BusBreakerViewSwitchSerDe
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected VoltageLevel.BusBreakerView.SwitchAdder
protected String
protected boolean
isValid
(Switch s, VoltageLevel vl) final void
read
(VoltageLevel parent, NetworkDeserializerContext context) protected String
readIdentifierAttributes
(VoltageLevel.BusBreakerView.SwitchAdder adder, NetworkDeserializerContext context) protected Switch
readRootElementAttributes
(VoltageLevel.BusBreakerView.SwitchAdder adder, VoltageLevel voltageLevel, NetworkDeserializerContext context) protected void
readSubElement
(String elementName, Switch identifiable, NetworkDeserializerContext context) protected void
readSubElements
(Switch s, NetworkDeserializerContext context) final void
write
(Switch identifiable, VoltageLevel parent, NetworkSerializerContext context) protected void
writeRootElementAttributes
(Switch s, VoltageLevel vl, NetworkSerializerContext context) protected void
writeSubElements
(Switch identifiable, VoltageLevel parent, NetworkSerializerContext context)
-
Constructor Details
-
BusBreakerViewSwitchSerDe
public BusBreakerViewSwitchSerDe()
-
-
Method Details
-
isValid
-
writeRootElementAttributes
protected void writeRootElementAttributes(Switch s, VoltageLevel vl, NetworkSerializerContext context) -
createAdder
-
readRootElementAttributes
protected Switch readRootElementAttributes(VoltageLevel.BusBreakerView.SwitchAdder adder, VoltageLevel voltageLevel, NetworkDeserializerContext context) -
getRootElementName
-
readSubElements
-
readSubElement
protected void readSubElement(String elementName, Switch identifiable, NetworkDeserializerContext context) -
read
-
writeSubElements
protected void writeSubElements(Switch identifiable, VoltageLevel parent, NetworkSerializerContext context) -
write
-
readIdentifierAttributes
protected String readIdentifierAttributes(VoltageLevel.BusBreakerView.SwitchAdder adder, NetworkDeserializerContext context)
-