Package com.hubspot.jinjava.lib.filter
Class EscapeFilter
- java.lang.Object
-
- com.hubspot.jinjava.lib.filter.EscapeFilter
-
- All Implemented Interfaces:
Filter
,Importable
- Direct Known Subclasses:
EAliasedEscapeFilter
public class EscapeFilter extends Object implements Filter
-
-
Constructor Summary
Constructors Constructor Description EscapeFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
escapeHtmlEntities(String input)
Object
filter(Object object, JinjavaInterpreter interpreter, String... arg)
Filter the specified template variable within the context of a render process.String
getName()
static String
oldEscapeHtmlEntities(String input)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hubspot.jinjava.lib.filter.Filter
filter, filter, preserveSafeString
-
-
-
-
Method Detail
-
filter
public Object filter(Object object, JinjavaInterpreter interpreter, String... arg)
Description copied from interface:Filter
Filter the specified template variable within the context of a render process. {{ myvar|myfiltername(arg1,arg2) }}
-
getName
public String getName()
- Specified by:
getName
in interfaceImportable
-
-