Class CbusLightManagerXml

    • Method Detail

      • setStoreElementClass

        public void setStoreElementClass​(org.jdom2.Element lights)
        Subclass provides implementation to create the correct top element, including the type information. Default implementation is to use the local class here.
        Specified by:
        setStoreElementClass in class AbstractLightManagerConfigXML
        Parameters:
        lights - The top-level element being created
      • load

        public boolean load​(org.jdom2.Element shared,
                            org.jdom2.Element perNode)
        Create a set of configured objects from their XML description.
        Specified by:
        load in interface XmlAdapter
        Overrides:
        load in class AbstractXmlAdapter
        Parameters:
        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
        Returns:
        true if successful