public final class TextLiteralExpression extends SimpleExpression
Text literal (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 |
---|
TextLiteralExpression(String value) |
Modifier and Type | Method and Description |
---|---|
String |
getStringRepresentation()
Obtain a string representation of the expression.
|
LiteralValue |
getValue() |
static String |
wrapStringIntoLiteral(String str) |
execute, execute, toString
public TextLiteralExpression(String value)
public LiteralValue getValue()
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.