Interface Evaluator

    • Method Detail

      • parseExpression

        Expression parseExpression​(java.lang.String expression,
                                   java.lang.Class<?> expectedType)
                            throws XelException
        Prepares the expression.
        Parameters:
        expression - the expression to be prepared for being evaluated later.
        expectedType - the expected type of the result of the evaluation
        Throws:
        XelException
      • evaluate

        java.lang.Object evaluate​(Page page,
                                  Expression expression)
                           throws XelException
        Evaluates the expression.
        Parameters:
        page - the page, or null to ignore
        Throws:
        XelException