001package jmri.jmrix.rfid.configurexml;
002
003import org.jdom2.Element;
004
005/**
006 * Provides load and store functionality for configuring RfidReporterManagers.
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 * @author Matthew Harris Copyright (C) 2011
013 * @since 2.11.4
014 */
015public class RfidReporterManagerXml extends jmri.managers.configurexml.AbstractReporterManagerConfigXML {
016
017    public RfidReporterManagerXml() {
018        super();
019    }
020
021    @Override
022    public void setStoreElementClass(Element sensors) {
023        sensors.setAttribute("class", this.getClass().getName());
024    }
025
026    @Override
027    public boolean load(Element shared, Element perNode) {
028        // load individual sensors
029        return loadReporters(shared);
030    }
031
032//    private static final Logger log = LoggerFactory.getLogger(RfidReporterManagerXml.class);
033}