Class ProgrammerFacadeSelector

java.lang.Object
jmri.implementation.ProgrammerFacadeSelector

public class ProgrammerFacadeSelector
extends Object
Utility to load a specific ProgrammerFacade from an XML element.
  • Constructor Details

  • Method Details

    • loadFacadeElements

      public static Programmer loadFacadeElements​(Element element, Programmer programmer, boolean allowCache, Programmer baseProg)
      Add facades specified in an XML decoder definition element to the front of a programmer.
      Parameters:
      element - Contains "capability" elements that define the Facades
      programmer - Programmer implementation to decorate
      allowCache - Passed to facades that optionally cache
      baseProg - The original underlying programmer, less any facades
      Returns:
      the programmer with added facades