Interface BindEvaluatorX

    • Method Detail

      • parseExpressionX

        ExpressionX parseExpressionX​(BindContext ctx,
                                     java.lang.String expression,
                                     java.lang.Class<?> expectedType)
                              throws XelException
        Prepares the expressionX.
        Parameters:
        expression - the expression to be prepared for being evaluated later.
        expectedType - the expected type of the result of the evaluation
        Throws:
        XelException
      • setValue

        void setValue​(BindContext ctx,
                      Component comp,
                      ExpressionX expression,
                      java.lang.Object value)
               throws XelException
        Sets the specified value to the property resolved from the specified expression.
        Parameters:
        ctx - the scoped bind context of this operation
        comp - the scoped component context of this operation
        expression - the expression that will resolve a property
        value - the value to be set into the resolved property
        Throws:
        XelException
      • getValue

        java.lang.Object getValue​(BindContext ctx,
                                  Component comp,
                                  ExpressionX expression)
                           throws XelException
        Sets the specified value to the property resolved from the specified expression.
        Parameters:
        ctx - the scoped bind context of this operation
        comp - the scoped component context of this operation
        expression - the expression that will resolve a property
        Throws:
        XelException
      • getType

        java.lang.Class<?> getType​(BindContext ctx,
                                   Component comp,
                                   ExpressionX expression)
                            throws XelException
        Returns the result type of the specified expression.
        Parameters:
        ctx - BindContext
        comp - evaluation context
        expression - the expression that will resolve a property
        Throws:
        XelException
      • isReadOnly

        boolean isReadOnly​(BindContext ctx,
                           Component comp,
                           ExpressionX expression)
                    throws XelException
        Returns whether the specified expression a read only expression.
        Parameters:
        ctx - BindContext
        comp - evaluation context
        expression - the expression that will resolve a property
        Returns:
        whether the specified expression a read only expression.
        Throws:
        XelException