public abstract class AbstractTsoGeneratorAutomaton extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
GEN |
protected SecurityIndexId |
id |
protected static String |
INDEX |
protected static String |
NAME |
protected static com.google.common.base.Supplier<XMLOutputFactory> |
XML_OUTPUT_FACTORY_SUPPLIER |
Modifier | Constructor and Description |
---|---|
protected |
AbstractTsoGeneratorAutomaton(String contingencyId,
SecurityIndexType securityIndexType) |
Modifier and Type | Method and Description |
---|---|
SecurityIndexId |
getId()
Get security index id.
|
String |
toString() |
String |
toXml() |
protected abstract void |
toXml(XMLStreamWriter xmlWriter) |
protected static void |
toXml(XMLStreamWriter xmlWriter,
String xmlTagName,
String xmlUnderTagName,
List<String> underGeneratorNames,
String xmlOverTagName,
List<String> overGeneratorNames) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isOk, toMap
protected static final String GEN
protected static final String INDEX
protected static final String NAME
protected static final com.google.common.base.Supplier<XMLOutputFactory> XML_OUTPUT_FACTORY_SUPPLIER
protected final SecurityIndexId id
protected AbstractTsoGeneratorAutomaton(String contingencyId, SecurityIndexType securityIndexType)
protected static void toXml(XMLStreamWriter xmlWriter, String xmlTagName, String xmlUnderTagName, List<String> underGeneratorNames, String xmlOverTagName, List<String> overGeneratorNames) throws XMLStreamException
XMLStreamException
public SecurityIndexId getId()
SecurityIndex
getId
in interface SecurityIndex
protected abstract void toXml(XMLStreamWriter xmlWriter) throws XMLStreamException
XMLStreamException
public String toXml()
toXml
in interface SecurityIndex
Copyright © 2020. All rights reserved.