Class LogixNG_SelectIntegerXml

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

public class LogixNG_SelectIntegerXml extends Object
Xml class for jmri.jmrit.logixng.util.LogixNG_SelectInteger.
  • Constructor Details

  • Method Details

    • store

      public org.jdom2.Element store(LogixNG_SelectInteger selectInt, String tagName)
      Default implementation for storing the contents of a LogixNG_SelectEnum
      Parameters:
      selectInt - the LogixNG_SelectInteger object
      tagName - the name of the element
      Returns:
      Element containing the complete info
    • load

      public void load(org.jdom2.Element intElement, LogixNG_SelectInteger selectInt) throws JmriConfigureXmlException
      Throws:
      JmriConfigureXmlException
    • loadLegacy

      public void loadLegacy(org.jdom2.Element shared, LogixNG_SelectInteger selectInt, 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
      selectInt - the LogixNG_SelectEnum
      addressingElementName - the name of the element of the addressing
      valueElementName - the name of the element of the integer
      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