Class SimpleModule
java.lang.Object
net.thisptr.jackson.jq.module.SimpleModule
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
FileSystemModuleLoader.FileSystemModule, ModuleImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllFunctions(Map<String, Function> functions) voidaddFunction(String fname, int nargs, Function f) voidaddFunction(String fnameAndNarg, Function f) getFunction(String fname, int nargs)
-
Field Details
-
functions
-
-
Constructor Details
-
SimpleModule
public SimpleModule()
-
-
Method Details
-
addFunction
-
addFunction
-
addAllFunctions
-
getFunction
- Specified by:
getFunctionin interfaceModule
-
getAllFunctions
- Specified by:
getAllFunctionsin interfaceModule
-