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