001package jmri.jmrix.loconet.configurexml; 002 003import jmri.configurexml.JmriConfigureXmlException; 004import org.jdom2.Element; 005 006/** 007 * Provides load and store functionality for configuring LnStringIOManagers. 008 * 009 * @author Bob Jacobsen Copyright: Copyright (c) 2003 010 * @author Daniel Bergqvist Copyright: Copyright (c) 2021 011 */ 012public class LnStringIOManagerXml extends jmri.managers.configurexml.AbstractNamedBeanManagerConfigXML { 013 014 public LnStringIOManagerXml() { 015 super(); 016 } 017 018 @Override 019 public Element store(Object o) { 020 // Don't do anything now. Implement this method later when LnStringIOs 021 // can be stored. The only StringIO in this manager is currently the 022 // LnThrottleStringIO which shouldn't be stored at all. 023 return null; 024 } 025 026 @Override 027 public boolean load(Element shared, Element perNode) throws JmriConfigureXmlException { 028 // Don't do anything now. Implement this method later when LnStringIOs 029 // can be stored. The only StringIO in this manager is currently the 030 // LnThrottleStringIO which shouldn't be stored at all. 031 return true; 032 } 033 034// private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LnStringIOManagerXml.class); 035}