Package com.sun.faces.facelets.el
Class LegacyValueBinding
java.lang.Object
jakarta.faces.el.ValueBinding
com.sun.faces.facelets.el.LegacyValueBinding
- All Implemented Interfaces:
Externalizable
,Serializable
@Deprecated public final class LegacyValueBinding extends ValueBinding implements Externalizable
Deprecated.
- Version:
- $Id$
- Author:
- Jacob Hookom
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LegacyValueBinding()
Deprecated.LegacyValueBinding(jakarta.el.ValueExpression ve)
Deprecated. -
Method Summary
Modifier and Type Method Description String
getExpressionString()
Deprecated.Return the (possiblynull
) expression String, including the delimiters, from which thisValueBinding
was built.Class
getType(FacesContext context)
Deprecated.Return the type of the property represented by thisValueBinding
, relative to the specifiedFacesContext
.Object
getValue(FacesContext context)
Deprecated.Return the value of the property represented by thisValueBinding
, relative to the specifiedFacesContext
.boolean
isReadOnly(FacesContext context)
Deprecated.Returntrue
if the specified property of the specified property is known to be immutable; otherwise, returnfalse
.void
readExternal(ObjectInput in)
Deprecated.void
setValue(FacesContext context, Object value)
Deprecated.Set the value of the property represented by thisValueBinding
, relative to the specifiedFacesContext
.void
writeExternal(ObjectOutput out)
Deprecated.
-
Constructor Details
-
LegacyValueBinding
public LegacyValueBinding()Deprecated. -
LegacyValueBinding
public LegacyValueBinding(jakarta.el.ValueExpression ve)Deprecated.
-
-
Method Details
-
getValue
Deprecated.Description copied from class:ValueBinding
Return the value of the property represented by this
ValueBinding
, relative to the specifiedFacesContext
.- Specified by:
getValue
in classValueBinding
- Parameters:
context
-FacesContext
for the current request- Returns:
- the value of this expression
- Throws:
EvaluationException
- if an exception is thrown while getting the value (the thrown exception must be included as thecause
property of this exception)PropertyNotFoundException
- if a specified property name does not exist, or is not readable
-
setValue
public void setValue(FacesContext context, Object value) throws EvaluationException, PropertyNotFoundExceptionDeprecated.Description copied from class:ValueBinding
Set the value of the property represented by this
ValueBinding
, relative to the specifiedFacesContext
.- Specified by:
setValue
in classValueBinding
- Parameters:
context
-FacesContext
for the current requestvalue
- The new value to be set- Throws:
EvaluationException
- if an exception is thrown while setting the value (the thrown exception must be included as thecause
property of this exception)PropertyNotFoundException
- if a specified property name does not exist, or is not writeable
-
isReadOnly
public boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundExceptionDeprecated.Description copied from class:ValueBinding
Return
true
if the specified property of the specified property is known to be immutable; otherwise, returnfalse
.- Specified by:
isReadOnly
in classValueBinding
- 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 thecause
property of this exception)PropertyNotFoundException
- if a specified property name does not exist
-
getType
Deprecated.Description copied from class:ValueBinding
Return the type of the property represented by this
ValueBinding
, relative to the specifiedFacesContext
.- Specified by:
getType
in classValueBinding
- Parameters:
context
-FacesContext
for the current request- Returns:
- the Java type of this expression
- Throws:
EvaluationException
- if an exception is thrown while getting the description of the property (the thrown exception must be included as thecause
property of this exception)PropertyNotFoundException
- if a specified property name does not exist
-
readExternal
Deprecated.- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
Deprecated.- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
getExpressionString
Deprecated.Description copied from class:ValueBinding
Return the (possibly
null
) expression String, including the delimiters, from which thisValueBinding
was built.- Overrides:
getExpressionString
in classValueBinding
- Returns:
- the expression string
-