001package jmri.jmrix.internal.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 InternalStringIOManagerXml extends jmri.managers.configurexml.AbstractStringIOManagerConfigXML {
013
014    public InternalStringIOManagerXml() {
015        super();
016    }
017
018    @Override
019    public void setStoreElementClass(Element sensors) {
020        sensors.setAttribute("class", this.getClass().getName());
021    }
022
023
024    @Override
025    public boolean load(Element shared, Element perNode) throws JmriConfigureXmlException {
026        boolean load = loadStringIOs(shared);
027
028        return load;
029    }
030
031//    private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(InternalStringIOManagerXml.class);
032}