Package com.powsybl.iidm.xml
Class StaticVarCompensatorXml
- java.lang.Object
-
- com.powsybl.iidm.xml.AbstractConnectableXml<StaticVarCompensator,StaticVarCompensatorAdder,VoltageLevel>
-
- com.powsybl.iidm.xml.StaticVarCompensatorXml
-
public class StaticVarCompensatorXml extends AbstractConnectableXml<StaticVarCompensator,StaticVarCompensatorAdder,VoltageLevel>
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description StaticVarCompensatorXml()
-
Method Summary
-
Methods inherited from class com.powsybl.iidm.xml.AbstractConnectableXml
hasValidOperationalLimits, hasValidOperationalLimits, readActivePowerLimits, readApparentPowerLimits, readCurrentLimits, readNodeOrBus, readNodeOrBus, readNodeOrBus, readPQ, readTerminalRef, writeCurrentLimits, writeCurrentLimits, writeCurrentLimits, writeCurrentLimits, writeCurrentLimits, writeCurrentLimits, writeNodeOrBus, writePQ, writeTerminalRef
-
-
-
-
Method Detail
-
getRootElementName
protected String getRootElementName()
-
hasSubElements
protected boolean hasSubElements(StaticVarCompensator svc)
-
writeRootElementAttributes
protected void writeRootElementAttributes(StaticVarCompensator svc, VoltageLevel vl, NetworkXmlWriterContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
writeSubElements
protected void writeSubElements(StaticVarCompensator svc, VoltageLevel vl, NetworkXmlWriterContext context)
-
createAdder
protected StaticVarCompensatorAdder createAdder(VoltageLevel vl)
-
readRootElementAttributes
protected StaticVarCompensator readRootElementAttributes(StaticVarCompensatorAdder adder, NetworkXmlReaderContext context)
-
readSubElements
protected void readSubElements(StaticVarCompensator svc, NetworkXmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
hasSubElements
protected boolean hasSubElements(T identifiable, NetworkXmlWriterContext context)
-
isValid
protected boolean isValid(T identifiable, P parent)
-
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
-
-