Class NegationExpression

All Implemented Interfaces:
Serializable, IStandardExpression

public final class NegationExpression extends ComplexExpression

Boolean negation 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
Author:
Daniel Fernández
See Also:
  • Constructor Details

    • NegationExpression

      public NegationExpression(Expression operand)
  • Method Details

    • getOperand

      public Expression getOperand()
    • getStringRepresentation

      public String getStringRepresentation()
      Description copied from interface: IStandardExpression

      Obtain a string representation of the expression.

      Specified by:
      getStringRepresentation in interface IStandardExpression
      Specified by:
      getStringRepresentation in class Expression
      Returns:
      the String representation
    • composeNegationExpression

      public static org.thymeleaf.standard.expression.ExpressionParsingState composeNegationExpression(org.thymeleaf.standard.expression.ExpressionParsingState state, int nodeIndex)