Class LogixNG_SelectStringXml
- java.lang.Object
-
- jmri.jmrit.logixng.util.configurexml.LogixNG_SelectStringXml
-
public class LogixNG_SelectStringXml extends java.lang.Object
Xml class for jmri.jmrit.logixng.util.LogixNG_SelectString.
-
-
Constructor Summary
Constructors Constructor Description LogixNG_SelectStringXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(org.jdom2.Element strElement, LogixNG_SelectString selectStr)voidloadLegacy(org.jdom2.Element shared, LogixNG_SelectString selectStr, java.lang.String addressingElementName, java.lang.String valueElementName, java.lang.String referenceElementName, java.lang.String localVariableElementName, java.lang.String formulaElementName)This method is for backward compability up to and including 4.99.4.Remove this class after 5.0.org.jdom2.Elementstore(LogixNG_SelectString selectStr, java.lang.String tagName)Default implementation for storing the contents of a LogixNG_SelectEnum
-
-
-
Constructor Detail
-
LogixNG_SelectStringXml
public LogixNG_SelectStringXml()
-
-
Method Detail
-
store
public org.jdom2.Element store(LogixNG_SelectString selectStr, java.lang.String tagName)
Default implementation for storing the contents of a LogixNG_SelectEnum- Parameters:
selectStr- the LogixNG_SelectString objecttagName- the name of the element- Returns:
- Element containing the complete info
-
load
public void load(org.jdom2.Element strElement, LogixNG_SelectString selectStr) throws JmriConfigureXmlException
- Throws:
JmriConfigureXmlException
-
loadLegacy
public void loadLegacy(org.jdom2.Element shared, LogixNG_SelectString selectStr, java.lang.String addressingElementName, java.lang.String valueElementName, java.lang.String referenceElementName, java.lang.String localVariableElementName, java.lang.String formulaElementName) throws JmriConfigureXmlException
This method is for backward compability up to and including 4.99.4.Remove this class after 5.0.- Parameters:
shared- the shared elementselectStr- the LogixNG_SelectEnumaddressingElementName- the name of the element of the addressingvalueElementName- the name of the element of the stringreferenceElementName- the name of the element of the referencelocalVariableElementName- the name of the element of the local variableformulaElementName- the name of the element of the formula- Throws:
JmriConfigureXmlException- if an exception occurs
-
-