Class ConnectionConfigXml

  • All Implemented Interfaces:

    public class ConnectionConfigXml
    extends AbstractConnectionConfigXml
    Handle XML persistance of virtual layout connections

    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.

    • Method Detail

      • getInstance

        protected void getInstance​(java.lang.Object object)
      • store

        public Element store​(java.lang.Object o)
        Store the object in XML
        o - The object to be recorded. Specific XmlAdapter implementations will require this to be of a specific type; that binding is done in ConfigXmlManager.
        The XML representation Element
      • load

        public boolean load​(Element shared,
                            Element perNode)
        Create a set of configured objects from their XML description.
        Specified by:
        load in interface XmlAdapter
        load in class AbstractXmlAdapter
        shared - Top-level XML element containing the common, multi-node elements of the description
        perNode - Top-level XML element containing the private, single-node elements of the description
        true if successful