001package jmri.jmrix.nce.configurexml;
002
003import org.jdom2.Element;
004
005/**
006 * Provides load and store functionality for configuring NceLightManagers.
007 * <p>
008 * Uses the store method from the abstract base class, but provides a load
009 * method here.
010 *
011 * @author Dave Duchamp Copyright (c) 2010
012 */
013public class NceLightManagerXml extends jmri.managers.configurexml.AbstractLightManagerConfigXML {
014
015    public NceLightManagerXml() {
016        super();
017    }
018
019    @Override
020    public void setStoreElementClass(Element lights) {
021        lights.setAttribute("class", "jmri.jmrix.nce.configurexml.NceLightManagerXml");
022    }
023
024    @Override
025    public boolean load(Element shared, Element perNode) {
026        // load individual lights
027        return loadLights(shared);
028    }
029
030//    private final static Logger log = LoggerFactory.getLogger(NceLightManagerXml.class);
031}