Class ConnectionConfigXml

  • All Implemented Interfaces:
    XmlAdapter

    public class ConnectionConfigXml
    extends ConnectionConfigXml
    Handle XML persistance of layout connections by persisting the SimDriverAdapter (and connections). Note this is named as the XML version of a ConnectionConfig object, but it's actually persisting the SimDriverAdapter.

    This class is invoked from jmrix.JmrixConfigPaneXml on write, as that class is the one actually registered. Reads are brought here directly via the class attribute in the XML.

    This inherits from the cmri.serial.serialdriver version, so it can reuse (and benefit from changes to) that code.