001package jmri.jmrix.rps.configurexml;
002
003import org.jdom2.Element;
004
005/**
006 * Provides load and store functionality for configuring RpsReporterManagers.
007 * <p>
008 * Uses the store method from the abstract base class, but provides a load
009 * method here.
010 *
011 * @author Bob Jacobsen Copyright: Copyright (c) 2008
012 * @since 2.3.1
013 */
014public class RpsReporterManagerXml extends jmri.managers.configurexml.AbstractReporterManagerConfigXML {
015
016    public RpsReporterManagerXml() {
017        super();
018    }
019
020    @Override
021    public void setStoreElementClass(Element sensors) {
022        sensors.setAttribute("class", this.getClass().getName());
023    }
024
025    @Override
026    public boolean load(Element shared, Element perNode) {
027        // load individual sensors
028        return loadReporters(shared);
029    }
030
031//    private final static Logger log = LoggerFactory.getLogger(RpsReporterManagerXml.class);
032
033}