Class LinkExpression
- Object
-
- org.thymeleaf.standard.expression.Expression
-
- org.thymeleaf.standard.expression.SimpleExpression
-
- org.thymeleaf.standard.expression.LinkExpression
-
- All Implemented Interfaces:
Serializable
,IStandardExpression
public final class LinkExpression extends SimpleExpression
Link 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, Josh Long
- 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 LinkExpression(IStandardExpression base, AssignationSequence parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IStandardExpression
getBase()
AssignationSequence
getParameters()
String
getStringRepresentation()
Obtain a string representation of the expression.boolean
hasParameters()
-
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, toString
-
-
-
-
Constructor Detail
-
LinkExpression
public LinkExpression(IStandardExpression base, AssignationSequence parameters)
-
-
Method Detail
-
getBase
public IStandardExpression getBase()
-
getParameters
public AssignationSequence getParameters()
-
hasParameters
public boolean hasParameters()
-
getStringRepresentation
public String getStringRepresentation()
Description copied from interface:IStandardExpression
Obtain a string representation of the expression.
- Specified by:
getStringRepresentation
in interfaceIStandardExpression
- Specified by:
getStringRepresentation
in classExpression
- Returns:
- the String representation
-
-