Name

ValueBinding

Synopsis

An instance of a subclass of this abstract class represents a dynamic binding to a property or a read-only JSF EL expression, typically created from a value binding expression.

Synopsis

Class name:

javax.faces.el.ValueBinding

Extends:

None

Implements:

None

Constructors

public ValueBinding()

Creates an instance.

Methods

public String getExpressionString()

Returns the method binding expression used to create this instance or null if none.

public abstract Class getType(javax.faces.context.FacesContext context)

Returns the Class representing the data type for the evaluation result of this binding. Throws PropertyNotFoundException if the value binding refers to a property that isn’t found or EvaluationException wrapped around an exception thrown while evaluating the value binding.

public abstract Object getValue(javax.faces.context.FacesContext context)

Returns the evaluation result for the binding. Throws PropertyNotFoundException if the value binding refers to a property that isn’t found or readable, or EvaluationException wrapped around an exception thrown while evaluating the value binding.

public abstract boolean isReadOnly(javax.faces.context.FacesContext context)

Returns true if the binding represents a read-only property or JSF EL expression. Throws PropertyNotFoundException if the value binding refers to a property that isn’t found or readable, or EvaluationException wrapped around an exception thrown while evaluating the value binding.

public abstract ...

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.