Class DCCppLightManagerXml

    • Method Detail

      • load

        public boolean load​(Element lights)
        Description copied from class: AbstractXmlAdapter
        Create a set of configured objects from their XML description
        Specified by:
        load in interface XmlAdapter
        Overrides:
        load in class AbstractXmlAdapter
        Parameters:
        lights - Top-level XML element containing the description
        Returns:
        true if successful
      • load

        public boolean load​(Element shared,
                            Element perNode)
        Description copied from class: AbstractXmlAdapter
        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