Interface IStandardExpressionParser

  • All Known Implementing Classes:
    StandardExpressionParser

    public interface IStandardExpressionParser

    Common interface for all objects in charge of parsing Thymeleaf Standard Expressions.

    Default implementation (used by most parts of the Thymeleaf core): StandardExpressionParser.

    Implementations of this interface should be thread-safe.

    Note a class with this name existed since 2.1.0, but it was completely reimplemented in Thymeleaf 3.0

    Since:
    3.0.0
    Author:
    Daniel Fernández
    • Method Detail

      • parseExpression

        IStandardExpression parseExpression​(IExpressionContext context,
                                            String input)

        Parse the specified expression.

        Parameters:
        context - the context object.
        input - the expression to be parsed, as an input String.
        Returns:
        the expression object resulting from parsing the expression.