Class AndExpression
java.lang.Object
org.thymeleaf.standard.expression.Expression
org.thymeleaf.standard.expression.ComplexExpression
org.thymeleaf.standard.expression.BinaryOperationExpression
org.thymeleaf.standard.expression.AndExpression
- All Implemented Interfaces:
Serializable,IStandardExpression
Logical AND 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 Methodprivate static final boolean[]private static final org.slf4j.Loggerprivate static final Stringprivate static final Class<? extends BinaryOperationExpression>[](package private) static final String[]private static final Methodprivate 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 TypeMethodDescription(package private) static ExpressionParsingStatecomposeAndExpression(ExpressionParsingState state, int nodeIndex) (package private) static ObjectexecuteAnd(IExpressionContext context, AndExpression expression, StandardExpressionExecutionContext expContext) Obtain a string representation of the expression.(package private) static boolean(package private) static booleanMethods inherited from class org.thymeleaf.standard.expression.BinaryOperationExpression
composeBinaryOperationExpression, getLeft, getRight, getStringRepresentationMethods 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
- See Also:
-
OPERATORS
-
LENIENCIES
private static final boolean[] LENIENCIES -
OPERATOR_CLASSES
-
LEFT_ALLOWED_METHOD
-
RIGHT_ALLOWED_METHOD
-
-
Constructor Details
-
AndExpression
-
-
Method Details
-
getStringRepresentation
Description copied from interface:IStandardExpressionObtain a string representation of the expression.
- Specified by:
getStringRepresentationin interfaceIStandardExpression- Specified by:
getStringRepresentationin classExpression- Returns:
- the String representation
-
isRightAllowed
-
isLeftAllowed
-
composeAndExpression
-
executeAnd
static Object executeAnd(IExpressionContext context, AndExpression expression, StandardExpressionExecutionContext expContext)
-