public class TemplateInterpreter extends Object
Constructor and Description |
---|
TemplateInterpreter() |
protected static final Logger LOGGER
public OtherTerminalNodeProcessor getOtherNodeProcessor()
public void setOtherNodeProcessor(OtherTerminalNodeProcessor otherNodeProcessor)
public void addTerminalNodeProcessor(TerminalNodeProcessor processor)
public void addContextProcessor(ContextProcessor contextProcessor)
public TinyTemplateParser.TemplateContext parserTemplateTree(String sourceName, String templateString, boolean throwLexerError) throws TemplateException
TemplateException
public void interpret(TemplateEngineDefault engine, TemplateFromContext templateFromContext, String templateString, String sourceName, TemplateContext pageContext, TemplateContext context, OutputStream outputStream, String fileName) throws Exception
Exception
public void interpret(TemplateEngineDefault engine, TemplateFromContext templateFromContext, TinyTemplateParser.TemplateContext templateParseTree, TemplateContext pageContext, TemplateContext context, OutputStream outputStream, String fileName) throws Exception
Exception
public Object interpretTree(TemplateEngineDefault engine, TemplateFromContext templateFromContext, org.antlr.v4.runtime.tree.ParseTree tree, TemplateContext pageContext, TemplateContext context, OutputStream outputStream, String fileName) throws Exception
Exception
Copyright © 2006–2018 TinyGroup. All rights reserved.