public final class DefaultExpression extends ComplexExpression
Default (if-null-then) 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 |
|---|
DefaultExpression(Expression queriedExpression,
Expression defaultExpression) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getDefaultExpression() |
Expression |
getQueriedExpression() |
String |
getStringRepresentation()
Obtain a string representation of the expression.
|
execute, execute, toStringpublic DefaultExpression(Expression queriedExpression, Expression defaultExpression)
public Expression getQueriedExpression()
public Expression getDefaultExpression()
public String getStringRepresentation()
IStandardExpressionObtain a string representation of the expression.
getStringRepresentation in interface IStandardExpressiongetStringRepresentation in class ExpressionCopyright © 2015 The THYMELEAF team. All rights reserved.