- java.lang.Object
-
- com.powsybl.iidm.xml.BusBreakerViewSwitchXml
-
public class BusBreakerViewSwitchXml extends Object
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description BusBreakerViewSwitchXml()
-
Method Summary
-
-
-
Method Detail
-
writeRootElementAttributes
protected void writeRootElementAttributes(Switch s, VoltageLevel vl, NetworkXmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
createAdder
protected VoltageLevel.BusBreakerView.SwitchAdder createAdder(VoltageLevel vl)
-
readRootElementAttributes
protected Switch readRootElementAttributes(VoltageLevel.BusBreakerView.SwitchAdder adder, NetworkXmlReaderContext context)
-
getRootElementName
protected String getRootElementName()
-
hasSubElements
protected boolean hasSubElements(Switch s)
-
readSubElements
protected void readSubElements(Switch s, NetworkXmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
hasSubElements
protected boolean hasSubElements(T identifiable, NetworkXmlWriterContext context)
-
writeSubElements
protected void writeSubElements(T identifiable, P parent, NetworkXmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
write
public final void write(T identifiable, P parent, NetworkXmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
readUntilEndRootElement
protected void readUntilEndRootElement(XMLStreamReader reader, XmlUtil.XmlEventHandler eventHandler) throws XMLStreamException
- Throws:
XMLStreamException
-
readElement
protected void readElement(String id, A adder, NetworkXmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
read
public final void read(P parent, NetworkXmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
-