Class NegationExpression
java.lang.Object
org.thymeleaf.standard.expression.Expression
org.thymeleaf.standard.expression.ComplexExpression
org.thymeleaf.standard.expression.NegationExpression
- All Implemented Interfaces:
Serializable,IStandardExpression
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
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final Expressionprivate static final Stringprivate static final String(package private) static final String[]private static final longFields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionParsingStatecomposeNegationExpression(ExpressionParsingState state, int nodeIndex) (package private) static ObjectexecuteNegation(IExpressionContext context, NegationExpression expression, StandardExpressionExecutionContext expContext) Obtain a string representation of the expression.Methods inherited from class org.thymeleaf.standard.expression.ComplexExpression
executeComplex
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
logger
private static final org.slf4j.Logger logger -
OPERATOR_1
- See Also:
-
OPERATOR_2
- See Also:
-
OPERATORS
-
operand
-
-
Constructor Details
-
NegationExpression
-
-
Method Details
-
getOperand
-
getStringRepresentation
Description copied from interface:IStandardExpressionObtain a string representation of the expression.
- Specified by:
getStringRepresentationin interfaceIStandardExpression- Specified by:
getStringRepresentationin classExpression- Returns:
- the String representation
-
composeNegationExpression
public static ExpressionParsingState composeNegationExpression(ExpressionParsingState state, int nodeIndex) -
executeNegation
static Object executeNegation(IExpressionContext context, NegationExpression expression, StandardExpressionExecutionContext expContext)
-