Class ExperimentalModule

java.lang.Object
com.schibsted.spt.data.jslt.impl.ExperimentalModule
All Implemented Interfaces:
Module

public class ExperimentalModule extends Object implements Module
A module containing functions and macros that *may* be officially added to JSLT in the future. For now, they're made available here so that people can use them and we can build experience with these implementations.
  • Field Details

  • Constructor Details

    • ExperimentalModule

      public ExperimentalModule()
  • Method Details

    • getCallable

      public Callable getCallable(String name)
      Description copied from interface: Module
      Returns the function with the given name. The return value is a Callable, because the method may also return a macro.
      Specified by:
      getCallable in interface Module
    • register

      private void register(Callable callable)