001package jmri.jmrix.ipocs.configurexml; 002 003import org.jdom2.Element; 004 005import jmri.managers.configurexml.AbstractLightManagerConfigXML; 006 007/** 008 * 009 * @author Fredrik Elestedt Copyright (C) 2020 010 * @since 4.21.2 011 */ 012public class IpocsLightManagerXml extends AbstractLightManagerConfigXML { 013 014 @Override 015 public void setStoreElementClass(Element turnouts) { 016 turnouts.setAttribute("class", IpocsTurnoutManagerXml.class.getName()); 017 } 018 019 @Override 020 public boolean load(Element shared, Element perNode) { 021 return loadLights(shared); 022 } 023}