Searched refs:autoEscapeContext (Results 1 – 3 of 3) sorted by relevance
59 private AutoEscapeContext autoEscapeContext; field in AutoEscaper80 autoEscapeContext = new AutoEscapeContext(mode, templateName); in AutoEscaper()83 autoEscapeContext = null; in AutoEscaper()106 AutoEscapeContext.AutoEscapeState startState = autoEscapeContext.getCurrentState(); in caseStart()111 AutoEscapeContext.AutoEscapeState endState = autoEscapeContext.getCurrentState(); in caseStart()112 if (!autoEscapeContext.isPermittedStateChangeForIncludes(startState, endState)) { in caseStart()145 autoEscapeContext.setCurrentPosition(node.getData().getLine(), node.getData().getPos()); in caseADataCommand()146 autoEscapeContext.parseData(data); in caseADataCommand()171 AutoEscapeContext originalEscapedContext = autoEscapeContext.cloneCurrentEscapeContext(); in caseAIfCommand()173 int line = autoEscapeContext.getLineNumber(); in caseAIfCommand()[all …]
60 private AutoEscapeContext autoEscapeContext; field in DefaultRenderingContext73 this.autoEscapeContext = null; in DefaultRenderingContext()120 autoEscapeContext.setCurrentPosition(line, column); in writeEscaped()121 pushEscapingFunction(autoEscapeContext.getEscapingFunctionForCurrentState()); in writeEscaped()139 autoEscapeContext.insertText(); in writeEscaped()156 autoEscapeContext.setCurrentPosition(line, column); in writeUnescaped()157 autoEscapeContext.parseData(text.toString()); in writeUnescaped()243 return autoEscapeContext != null; in isRuntimeAutoEscaping()260 autoEscapeContext = new AutoEscapeContext(autoEscapeMode, getCurrentResourceName()); in startRuntimeAutoEscaping()261 startingAutoEscapeState = autoEscapeContext.getCurrentState(); in startRuntimeAutoEscaping()[all …]
146 AutoEscapeContext autoEscapeContext = new AutoEscapeContext(); in cloneCurrentEscapeContext() local147 autoEscapeContext.resourceName = resourceName; in cloneCurrentEscapeContext()148 autoEscapeContext.htmlParser = HtmlParserFactory.createParser(htmlParser); in cloneCurrentEscapeContext()149 return autoEscapeContext; in cloneCurrentEscapeContext()