Class MessageExpression
- Object
-
- org.thymeleaf.standard.expression.Expression
-
- org.thymeleaf.standard.expression.SimpleExpression
-
- org.thymeleaf.standard.expression.MessageExpression
-
- All Implemented Interfaces:
Serializable,IStandardExpression
public final class MessageExpression extends SimpleExpression
Message expression (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
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
-
-
Constructor Summary
Constructors Constructor Description MessageExpression(IStandardExpression base, ExpressionSequence parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IStandardExpressiongetBase()ExpressionSequencegetParameters()StringgetStringRepresentation()Obtain a string representation of the expression.booleanhasParameters()-
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, toString
-
-
-
-
Constructor Detail
-
MessageExpression
public MessageExpression(IStandardExpression base, ExpressionSequence parameters)
-
-
Method Detail
-
getBase
public IStandardExpression getBase()
-
getParameters
public ExpressionSequence getParameters()
-
hasParameters
public boolean hasParameters()
-
getStringRepresentation
public String getStringRepresentation()
Description copied from interface:IStandardExpressionObtain a string representation of the expression.
- Specified by:
getStringRepresentationin interfaceIStandardExpression- Specified by:
getStringRepresentationin classExpression- Returns:
- the String representation
-
-