Package net.thisptr.jackson.jq.module
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 TypeMethodDescriptionvoid
addAllFunctions
(Map<String, Function> functions) void
addFunction
(String fname, int nargs, Function f) void
addFunction
(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:
getFunction
in interfaceModule
-
getAllFunctions
- Specified by:
getAllFunctions
in interfaceModule
-