Class ValueBinding


  • @Deprecated
    public abstract class ValueBinding
    extends java.lang.Object
    Deprecated.
    This has been replaced by ValueExpression.

    ValueBinding is an object that can be used to access the property represented by an action or value binding expression. An immutable ValueBinding for a particular value binding can be acquired by calling the createValueBinding() method of the Application instance for this web application.

    • Constructor Detail

      • ValueBinding

        public ValueBinding()
        Deprecated.
    • Method Detail

      • isReadOnly

        public abstract boolean isReadOnly​(FacesContext context)
                                    throws EvaluationException,
                                           PropertyNotFoundException
        Deprecated.

        Return true if the specified property of the specified property is known to be immutable; otherwise, return false.

        Parameters:
        context - FacesContext for the current request
        Returns:
        whether or not this expression is read only
        Throws:
        EvaluationException - if an exception is thrown while getting the description of the property (the thrown exception must be included as the cause property of this exception)
        java.lang.NullPointerException - if context is null
        PropertyNotFoundException - if a specified property name does not exist
      • getExpressionString

        public java.lang.String getExpressionString()
        Deprecated.

        Return the (possibly null) expression String, including the delimiters, from which this ValueBinding was built.

        Returns:
        the expression string