Class DefaultVariableLightManagerXml

All Implemented Interfaces:
XmlAdapter

Store and load data for VariableLightManager. This class doesn't do anything since all the VariableLights are stored in the LightManager. /Daniel Bergqvist
  • Constructor Details

  • Method Details

    • store

      public org.jdom2.Element store(Object o)
      Description copied from interface: XmlAdapter
      Store the object in XML
      Parameters:
      o - The object to be recorded. Specific XmlAdapter implementations will require this to be of a specific type; that binding is done in ConfigXmlManager.
      Returns:
      The XML representation Element
    • load

      public boolean load(@Nonnull org.jdom2.Element sharedConditionals, org.jdom2.Element perNodeConditionals)
      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:
      sharedConditionals - Top-level XML element containing the common, multi-node elements of the description
      perNodeConditionals - Top-level XML element containing the private, single-node elements of the description
      Returns:
      true if successful
    • loadOrder

      public int loadOrder()
      Description copied from class: AbstractXmlAdapter
      Specified by:
      loadOrder in interface XmlAdapter
      Overrides:
      loadOrder in class AbstractXmlAdapter