public class ExpressionProcessor extends Object
Constructor and Description |
---|
ExpressionProcessor(org.thymeleaf.context.IExpressionContext context)
Constructor, sets the execution context.
|
Modifier and Type | Method and Description |
---|---|
org.thymeleaf.standard.expression.IStandardExpression |
parse(String expression)
Parses an expression, returning the matching expression type.
|
org.thymeleaf.standard.expression.FragmentExpression |
parseFragmentExpression(String expression)
Parses an expression under the assumption it is a fragment expression.
|
Object |
process(String expression)
Parses and executes an expression, returning the result of the expression
having been parsed and executed.
|
String |
processAsString(String expression)
Parse and execute an expression, returning the result as a string.
|
public ExpressionProcessor(org.thymeleaf.context.IExpressionContext context)
context
- public org.thymeleaf.standard.expression.IStandardExpression parse(String expression)
expression
- public org.thymeleaf.standard.expression.FragmentExpression parseFragmentExpression(String expression)
expression
- public Object process(String expression)
expression
- Copyright © 2016. All rights reserved.