Class ProgrammerFacadeSelector


  • public class ProgrammerFacadeSelector
    extends java.lang.Object
    Utility to load a specific ProgrammerFacade from an XML element.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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