Package com.powsybl.iidm.xml
Class StaticVarCompensatorXml
- java.lang.Object
-
- com.powsybl.iidm.xml.StaticVarCompensatorXml
-
public class StaticVarCompensatorXml extends Object
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description StaticVarCompensatorXml()
-
Method Summary
-
-
-
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, VoltageLevel voltageLevel, NetworkXmlReaderContext context)
-
readSubElements
protected void readSubElements(StaticVarCompensator svc, NetworkXmlReaderContext context) throws XMLStreamException
- Throws:
XMLStreamException
-
read
public final void read(P parent, 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
-
readIdentifierAttributes
protected String readIdentifierAttributes(A adder, NetworkXmlReaderContext context)
-
readUntilEndRootElement
protected void readUntilEndRootElement(XMLStreamReader reader, XmlUtil.XmlEventHandler eventHandler) throws XMLStreamException
- Throws:
XMLStreamException
-
-