| Constructor and Description |
|---|
JstlFile(java.lang.String prefix,
java.lang.String source,
ExpressionImpl body) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
call(com.fasterxml.jackson.databind.JsonNode input,
com.fasterxml.jackson.databind.JsonNode[] arguments)
Perform the function on the given JSON input with the given arguments.
|
void |
evaluateLetsOnly(Scope scope,
com.fasterxml.jackson.databind.JsonNode input) |
Callable |
getCallable(java.lang.String name)
Returns the function with the given name.
|
int |
getMaxArguments()
The maximum number of arguments allowed.
|
int |
getMinArguments()
The minimum number of arguments allowed.
|
java.lang.String |
getName()
The name of the function.
|
public JstlFile(java.lang.String prefix,
java.lang.String source,
ExpressionImpl body)
public Callable getCallable(java.lang.String name)
ModulegetCallable in interface Modulepublic java.lang.String getName()
Functionpublic int getMinArguments()
FunctiongetMinArguments in interface CallablegetMinArguments in interface Functionpublic int getMaxArguments()
FunctiongetMaxArguments in interface CallablegetMaxArguments in interface Functionpublic com.fasterxml.jackson.databind.JsonNode call(com.fasterxml.jackson.databind.JsonNode input,
com.fasterxml.jackson.databind.JsonNode[] arguments)
Functionpublic void evaluateLetsOnly(Scope scope, com.fasterxml.jackson.databind.JsonNode input)