Package com.schibsted.spt.data.jslt.impl
Class ExperimentalModule
- java.lang.Object
-
- com.schibsted.spt.data.jslt.impl.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExperimentalModule.GroupBy
-
Constructor Summary
Constructors Constructor Description ExperimentalModule()
-
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)
-
-
-
Field Detail
-
URI
public static final java.lang.String URI
- See Also:
- Constant Field Values
-
callables
private java.util.Map<java.lang.String,Callable> callables
-
-
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 interfaceModule
-
register
private void register(Callable callable)
-
-