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, toString
public DefaultExpression(Expression queriedExpression, Expression defaultExpression)
public Expression getQueriedExpression()
public Expression getDefaultExpression()
public String getStringRepresentation()
IStandardExpression
Obtain a string representation of the expression.
getStringRepresentation
in interface IStandardExpression
getStringRepresentation
in class Expression
Copyright © 2017 The THYMELEAF team. All rights reserved.