public interface TemplateCompiler
| Modifier and Type | Method and Description |
|---|---|
CompiledTemplate |
compile(char[] document,
int templateStart,
int templateLength,
org.everit.expression.ParserConfiguration parserConfiguration)
Compiles a template.
|
CompiledTemplate |
compile(String template,
org.everit.expression.ParserConfiguration parserConfiguration)
Compiles a template.
|
CompiledTemplate compile(char[] document, int templateStart, int templateLength, org.everit.expression.ParserConfiguration parserConfiguration)
ParserConfiguration.getStartRow() and ParserConfiguration.getStartColumn()
values should point to the place of expressionStart.document - The full document that contains the template.templateStart - The starting position of the template within the document.templateLength - The length of the template in character number.parserConfiguration - Configuration of the parser.CompiledTemplate compile(String template, org.everit.expression.ParserConfiguration parserConfiguration)
template - The template that will be parsed and compiled.parserConfiguration - Configuration of the parser.Copyright © 2011–2018 Everit Kft.. All rights reserved.