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 StringgetExpressionString()Deprecated.Return the (possiblynull) expression String, including the delimiters, from which thisValueBindingwas built.ClassgetType(FacesContext context)Deprecated.Return the type of the property represented by thisValueBinding, relative to the specifiedFacesContext.ObjectgetValue(FacesContext context)Deprecated.Return the value of the property represented by thisValueBinding, relative to the specifiedFacesContext.booleanisReadOnly(FacesContext context)Deprecated.Returntrueif the specified property of the specified property is known to be immutable; otherwise, returnfalse.voidreadExternal(ObjectInput in)Deprecated.voidsetValue(FacesContext context, Object value)Deprecated.Set the value of the property represented by thisValueBinding, relative to the specifiedFacesContext.voidwriteExternal(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:ValueBindingReturn the value of the property represented by this
ValueBinding, relative to the specifiedFacesContext.- Specified by:
getValuein classValueBinding- Parameters:
context-FacesContextfor 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 thecauseproperty 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:ValueBindingSet the value of the property represented by this
ValueBinding, relative to the specifiedFacesContext.- Specified by:
setValuein classValueBinding- Parameters:
context-FacesContextfor 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 thecauseproperty 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:ValueBindingReturn
trueif the specified property of the specified property is known to be immutable; otherwise, returnfalse.- Specified by:
isReadOnlyin classValueBinding- Parameters:
context-FacesContextfor 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 thecauseproperty of this exception)PropertyNotFoundException- if a specified property name does not exist
-
getType
Deprecated.Description copied from class:ValueBindingReturn the type of the property represented by this
ValueBinding, relative to the specifiedFacesContext.- Specified by:
getTypein classValueBinding- Parameters:
context-FacesContextfor 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 thecauseproperty of this exception)PropertyNotFoundException- if a specified property name does not exist
-
readExternal
Deprecated.- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
Deprecated.- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getExpressionString
Deprecated.Description copied from class:ValueBindingReturn the (possibly
null) expression String, including the delimiters, from which thisValueBindingwas built.- Overrides:
getExpressionStringin classValueBinding- Returns:
- the expression string
-