Top Fields Constructors Methods
com.sun.faces.facelets.el

public final Class LegacyValueBinding

extends ValueBinding
implements Externalizable
Class Inheritance
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable
Imports
javax.el.ELContext, .ELException, .PropertyNotWritableException, .ValueExpression, javax.faces.context.FacesContext, javax.faces.el.EvaluationException, .PropertyNotFoundException, .ValueBinding, java.io.Externalizable, .IOException, .ObjectInput, .ObjectOutput

Deprecated

Author
Jacob Hookom
Version
$Id$

Field Summary

Modifier and TypeField and Description
private ValueExpression
private static final long

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
getExpressionString()

Overrides javax.faces.el.ValueBinding.getExpressionString.

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

public Class<T>
getType(FacesContext
FacesContext for the current request
context
)

Implements abstract javax.faces.el.ValueBinding.getType.

Return the type of the property represented by this ValueBinding, relative to the specified FacesContext.

public Object
getValue(FacesContext
FacesContext for the current request
context
)

Implements abstract javax.faces.el.ValueBinding.getValue.

Return the value of the property represented by this ValueBinding, relative to the specified FacesContext.

public boolean
isReadOnly(FacesContext
FacesContext for the current request
context
)

Implements abstract javax.faces.el.ValueBinding.isReadOnly.

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

public void
readExternal(ObjectInput
the stream to read data from in order to restore the object
in
)

Implements java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
public void
setValue(FacesContext
FacesContext for the current request
context
,
Object
The new value to be set
value
)

Implements abstract javax.faces.el.ValueBinding.setValue.

Set the value of the property represented by this ValueBinding, relative to the specified FacesContext.

public void
writeExternal(ObjectOutput
the stream to write the object to
out
)

Implements java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Field Detail

delegateback to summary
private ValueExpression delegate
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

LegacyValueBindingback to summary
public LegacyValueBinding()
LegacyValueBindingback to summary
public LegacyValueBinding(ValueExpression ve)

Method Detail

getExpressionStringback to summary
public String getExpressionString()

Overrides javax.faces.el.ValueBinding.getExpressionString.

Doc from javax.faces.el.ValueBinding.getExpressionString.

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

Returns:String

the expression string

Annotations
@Override
getTypeback to summary
public Class<T> getType(FacesContext context) throws EvaluationException, PropertyNotFoundException

Implements abstract javax.faces.el.ValueBinding.getType.

Doc from javax.faces.el.ValueBinding.getType.

Return the type of the property represented by this ValueBinding, relative to the specified FacesContext.

Parameters
context:FacesContext

FacesContext for the current request

Returns:Class<T>

the Java type of this expression

Annotations
@Override
Exceptions
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)
PropertyNotFoundException:
if a specified property name does not exist
getValueback to summary
public Object getValue(FacesContext context) throws EvaluationException, PropertyNotFoundException

Implements abstract javax.faces.el.ValueBinding.getValue.

Doc from javax.faces.el.ValueBinding.getValue.

Return the value of the property represented by this ValueBinding, relative to the specified FacesContext.

Parameters
context:FacesContext

FacesContext for the current request

Returns:Object

the value of this expression

Annotations
@Override
Exceptions
EvaluationException:
if an exception is thrown while getting the value (the thrown exception must be included as the cause property of this exception)
PropertyNotFoundException:
if a specified property name does not exist, or is not readable
isReadOnlyback to summary
public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException

Implements abstract javax.faces.el.ValueBinding.isReadOnly.

Doc from javax.faces.el.ValueBinding.isReadOnly.

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

Parameters
context:FacesContext

FacesContext for the current request

Returns:boolean

whether or not this expression is read only

Annotations
@Override
Exceptions
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)
PropertyNotFoundException:
if a specified property name does not exist
readExternalback to summary
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException

Implements java.io.Externalizable.readExternal.

Doc from java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

Parameters
in:ObjectInput

the stream to read data from in order to restore the object

Annotations
@Override
Exceptions
IOException:
if I/O errors occur
ClassNotFoundException:
If the class for an object being restored cannot be found.
setValueback to summary
public void setValue(FacesContext context, Object value) throws EvaluationException, PropertyNotFoundException

Implements abstract javax.faces.el.ValueBinding.setValue.

Doc from javax.faces.el.ValueBinding.setValue.

Set the value of the property represented by this ValueBinding, relative to the specified FacesContext.

Parameters
context:FacesContext

FacesContext for the current request

value:Object

The new value to be set

Annotations
@Override
Exceptions
EvaluationException:
if an exception is thrown while setting the value (the thrown exception must be included as the cause property of this exception)
PropertyNotFoundException:
if a specified property name does not exist, or is not writeable
writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Implements java.io.Externalizable.writeExternal.

Doc from java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Parameters
out:ObjectOutput

the stream to write the object to

Annotations
@Override
Exceptions
IOException:
Includes any I/O exceptions that may occur