Class MinusExpression
- java.lang.Object
-
- org.thymeleaf.standard.expression.Expression
-
- org.thymeleaf.standard.expression.ComplexExpression
-
- org.thymeleaf.standard.expression.MinusExpression
-
- All Implemented Interfaces:
java.io.Serializable,IStandardExpression
public final class MinusExpression extends ComplexExpression
Minus (numeric negative) complex 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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.Loggerloggerprivate Expressionoperandprivate static charOPERATOR(package private) static java.lang.String[]OPERATORSprivate static longserialVersionUID-
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
-
-
Constructor Summary
Constructors Constructor Description MinusExpression(Expression operand)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpressionParsingStatecomposeMinusExpression(ExpressionParsingState state, int nodeIndex)(package private) static java.lang.ObjectexecuteMinus(IExpressionContext context, MinusExpression expression, StandardExpressionExecutionContext expContext)ExpressiongetOperand()java.lang.StringgetStringRepresentation()Obtain a string representation of the expression.-
Methods inherited from class org.thymeleaf.standard.expression.ComplexExpression
executeComplex
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
logger
private static final org.slf4j.Logger logger
-
OPERATOR
private static final char OPERATOR
- See Also:
- Constant Field Values
-
OPERATORS
static final java.lang.String[] OPERATORS
-
operand
private final Expression operand
-
-
Constructor Detail
-
MinusExpression
public MinusExpression(Expression operand)
-
-
Method Detail
-
getOperand
public Expression getOperand()
-
getStringRepresentation
public java.lang.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
-
composeMinusExpression
public static ExpressionParsingState composeMinusExpression(ExpressionParsingState state, int nodeIndex)
-
executeMinus
static java.lang.Object executeMinus(IExpressionContext context, MinusExpression expression, StandardExpressionExecutionContext expContext)
-
-