public class EscapeFilter extends Object implements Filter
| Constructor and Description |
|---|
EscapeFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEscapingStrategy(String name,
EscapingStrategy strategy) |
Object |
apply(Object inputObject,
Map<String,Object> args,
PebbleTemplate self,
EvaluationContext context,
int lineNumber) |
List<String> |
getArgumentNames() |
String |
getDefaultStrategy() |
void |
setDefaultStrategy(String defaultStrategy) |
public List<String> getArgumentNames()
getArgumentNames in interface NamedArgumentspublic Object apply(Object inputObject, Map<String,Object> args, PebbleTemplate self, EvaluationContext context, int lineNumber) throws PebbleException
apply in interface FilterPebbleExceptionpublic String getDefaultStrategy()
public void setDefaultStrategy(String defaultStrategy)
public void addEscapingStrategy(String name, EscapingStrategy strategy)
Copyright © 2018. All rights reserved.