Package jmri.implementation
Class ProgrammerFacadeSelector
- java.lang.Object
-
- jmri.implementation.ProgrammerFacadeSelector
-
public class ProgrammerFacadeSelector extends java.lang.Object
Utility to load a specific ProgrammerFacade from an XML element.
-
-
Constructor Summary
Constructors Constructor Description ProgrammerFacadeSelector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Programmer
loadFacadeElements(org.jdom2.Element element, Programmer programmer, boolean allowCache, Programmer baseProg)
Add facades specified in an XML decoder definition element to the front of a programmer.
-
-
-
Constructor Detail
-
ProgrammerFacadeSelector
public ProgrammerFacadeSelector()
-
-
Method Detail
-
loadFacadeElements
public static Programmer loadFacadeElements(org.jdom2.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 Facadesprogrammer
- Programmer implementation to decorateallowCache
- Passed to facades that optionally cachebaseProg
- The original underlying programmer, less any facades- Returns:
- the programmer with added facades
-
-