Class LogixNG_SelectStringXml
java.lang.Object
jmri.jmrit.logixng.util.configurexml.LogixNG_SelectStringXml
Xml class for jmri.jmrit.logixng.util.LogixNG_SelectString.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload(org.jdom2.Element strElement, LogixNG_SelectString selectStr) voidloadLegacy(org.jdom2.Element shared, LogixNG_SelectString selectStr, String addressingElementName, String valueElementName, String referenceElementName, String localVariableElementName, 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, String tagName) Default implementation for storing the contents of a LogixNG_SelectEnum
-
Constructor Details
-
LogixNG_SelectStringXml
public LogixNG_SelectStringXml()
-
-
Method Details
-
store
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, String addressingElementName, String valueElementName, String referenceElementName, String localVariableElementName, 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
-