public class HrefFunction extends Object implements Function
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
argumentNames |
static String |
FUNCTION_NAME |
protected static String |
PARAM_URL |
| Constructor and Description |
|---|
HrefFunction()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Map<String,Object> args,
PebbleTemplate self,
EvaluationContext context,
int lineNumber) |
List<String> |
getArgumentNames() |
public static final String FUNCTION_NAME
protected static final String PARAM_URL
public Object execute(Map<String,Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber)
execute in interface FunctionFunction.execute(Map, PebbleTemplate, EvaluationContext, int)public List<String> getArgumentNames()
getArgumentNames in interface NamedArgumentsNamedArguments.getArgumentNames()Copyright © 2019. All rights reserved.