Class ExperimentalModule

  • All Implemented Interfaces:
    Module

    public class ExperimentalModule
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​Callable> callables  
      static java.lang.String URI  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Callable getCallable​(java.lang.String name)
      Returns the function with the given name.
      private void register​(Callable callable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • callables

        private java.util.Map<java.lang.String,​Callable> callables
    • Constructor Detail

      • ExperimentalModule

        public ExperimentalModule()
    • Method Detail

      • getCallable

        public Callable getCallable​(java.lang.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)