Class LogixNG_SelectStringXml

java.lang.Object
jmri.jmrit.logixng.util.configurexml.LogixNG_SelectStringXml

public class LogixNG_SelectStringXml extends Object
Xml class for jmri.jmrit.logixng.util.LogixNG_SelectString.
  • Constructor Details

  • Method Details

    • store

      public org.jdom2.Element store(LogixNG_SelectString selectStr, String tagName)
      Default implementation for storing the contents of a LogixNG_SelectEnum
      Parameters:
      selectStr - the LogixNG_SelectString object
      tagName - 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 element
      selectStr - the LogixNG_SelectEnum
      addressingElementName - the name of the element of the addressing
      valueElementName - the name of the element of the string
      referenceElementName - the name of the element of the reference
      localVariableElementName - the name of the element of the local variable
      formulaElementName - the name of the element of the formula
      Throws:
      JmriConfigureXmlException - if an exception occurs