public final class ConditionalExpression extends ComplexExpression
Conditional complex expression (Thymeleaf Standard Expressions)
Note a class with this name existed since 1.1, but it was completely reimplemented in Thymeleaf 3.0
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
Constructor and Description |
---|
ConditionalExpression(Expression conditionExpression,
Expression thenExpression,
Expression elseExpression) |
Modifier and Type | Method and Description |
---|---|
Expression |
getConditionExpression() |
Expression |
getElseExpression() |
String |
getStringRepresentation()
Obtain a string representation of the expression.
|
Expression |
getThenExpression() |
execute, execute, toString
public ConditionalExpression(Expression conditionExpression, Expression thenExpression, Expression elseExpression)
public Expression getConditionExpression()
public Expression getThenExpression()
public Expression getElseExpression()
public String getStringRepresentation()
IStandardExpression
Obtain a string representation of the expression.
getStringRepresentation
in interface IStandardExpression
getStringRepresentation
in class Expression
Copyright © 2016 The THYMELEAF team. All rights reserved.