Class EscapeJsFilter

    • Constructor Detail

      • EscapeJsFilter

        public EscapeJsFilter()
    • Method Detail

      • filter

        public Object filter​(Object objectToFilter,
                             JinjavaInterpreter jinjavaInterpreter,
                             String... strings)
        Description copied from interface: Filter
        Filter the specified template variable within the context of a render process. {{ myvar|myfiltername(arg1,arg2) }}
        Specified by:
        filter in interface Filter
        Parameters:
        objectToFilter - the variable which this filter should operate on
        jinjavaInterpreter - current interpreter context
        strings - any arguments passed to this filter invocation
        Returns:
        the filtered form of the given variable