public class BusBreakerViewSwitchXml extends Object
Constructor and Description |
---|
BusBreakerViewSwitchXml() |
Modifier and Type | Method and Description |
---|---|
protected VoltageLevel.BusBreakerView.SwitchAdder |
createAdder(VoltageLevel vl) |
protected String |
getRootElementName() |
protected boolean |
hasSubElements(Switch s) |
void |
read(P parent,
NetworkXmlReaderContext context) |
protected Switch |
readRootElementAttributes(VoltageLevel.BusBreakerView.SwitchAdder adder,
NetworkXmlReaderContext context) |
protected void |
readSubElements(Switch s,
NetworkXmlReaderContext context) |
protected void |
readUntilEndRootElement(XMLStreamReader reader,
XmlUtil.XmlEventHandler eventHandler) |
void |
write(T identifiable,
P parent,
NetworkXmlWriterContext context) |
protected void |
writeRootElementAttributes(Switch s,
VoltageLevel vl,
NetworkXmlWriterContext context) |
protected void |
writeSubElements(T identifiable,
P parent,
NetworkXmlWriterContext context) |
protected void writeRootElementAttributes(Switch s, VoltageLevel vl, NetworkXmlWriterContext context) throws XMLStreamException
XMLStreamException
protected VoltageLevel.BusBreakerView.SwitchAdder createAdder(VoltageLevel vl)
protected Switch readRootElementAttributes(VoltageLevel.BusBreakerView.SwitchAdder adder, NetworkXmlReaderContext context)
protected String getRootElementName()
protected boolean hasSubElements(Switch s)
protected void readSubElements(Switch s, NetworkXmlReaderContext context) throws XMLStreamException
XMLStreamException
protected void writeSubElements(T identifiable, P parent, NetworkXmlWriterContext context) throws XMLStreamException
XMLStreamException
public final void write(T identifiable, P parent, NetworkXmlWriterContext context) throws XMLStreamException
XMLStreamException
protected void readUntilEndRootElement(XMLStreamReader reader, XmlUtil.XmlEventHandler eventHandler) throws XMLStreamException
XMLStreamException
public final void read(P parent, NetworkXmlReaderContext context) throws XMLStreamException
XMLStreamException
Copyright © 2020. All rights reserved.