Class TextLiteralExpression
java.lang.Object
org.thymeleaf.standard.expression.Expression
org.thymeleaf.standard.expression.SimpleExpression
org.thymeleaf.standard.expression.TextLiteralExpression
- All Implemented Interfaces:
Serializable,IStandardExpression
Text literal (Thymeleaf Standard Expressions)
Note a class with this name existed since 1.1, but it was completely reimplemented in Thymeleaf 3.0
- Since:
- 3.0.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final char(package private) static final charprivate static final org.slf4j.Loggerprivate static final longprivate final LiteralValueFields inherited from class org.thymeleaf.standard.expression.SimpleExpression
EXPRESSION_END_CHAR, EXPRESSION_START_CHARFields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ObjectexecuteTextLiteralExpression(IExpressionContext context, TextLiteralExpression expression, StandardExpressionExecutionContext expContext) Obtain a string representation of the expression.getValue()(package private) static booleanisDelimiterEscaped(String input, int pos) (package private) static TextLiteralExpressionparseTextLiteralExpression(String input) private static StringunescapeLiteral(String text) private static StringunwrapLiteral(String input) static StringMethods inherited from class org.thymeleaf.standard.expression.SimpleExpression
executeSimple
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
serialVersionUID
private static final long serialVersionUID- See Also:
-
ESCAPE_PREFIX
static final char ESCAPE_PREFIX- See Also:
-
DELIMITER
static final char DELIMITER- See Also:
-
value
-
-
Constructor Details
-
TextLiteralExpression
-
-
Method Details
-
getValue
-
unwrapLiteral
-
getStringRepresentation
Description copied from interface:IStandardExpressionObtain a string representation of the expression.
- Specified by:
getStringRepresentationin interfaceIStandardExpression- Specified by:
getStringRepresentationin classExpression- Returns:
- the String representation
-
parseTextLiteralExpression
-
executeTextLiteralExpression
static Object executeTextLiteralExpression(IExpressionContext context, TextLiteralExpression expression, StandardExpressionExecutionContext expContext) -
wrapStringIntoLiteral
-
isDelimiterEscaped
-
unescapeLiteral
-