Package org.zkoss.xel

Interface ExpressionX

    • Method Detail

      • isReadOnly

        boolean isReadOnly​(XelContext ctx)
                    throws XelException
        Returns whether this is a read only (cannot setValue) expression.
        Parameters:
        ctx - the evaluation context
        Returns:
        whether this is a read only (cannot setValue) expression.
        Throws:
        XelException
      • setValue

        void setValue​(XelContext ctx,
                      java.lang.Object value)
               throws XelException
        Set values into the property resolved by this expression.
        Parameters:
        ctx - the evaluation context
        value - the value to be set into the property resolved by this expression
        Throws:
        XelException
      • getExpressionString

        java.lang.String getExpressionString()
        Returns the expression in String form.
        Returns:
        the expression in String form.
      • getType

        java.lang.Class getType​(XelContext xelc)
        Returns the result type of this expression.
        Parameters:
        xelc - the evaluation context
        Returns:
        the result type of this expression.
      • getValueReference

        ValueReference getValueReference​(XelContext xelc)
        Returns the target bean and field name of this expression.
        Parameters:
        xelc - the evaluation context
        Returns:
        the target bean and field name of this expression.