public final class LegacyValueBinding extends ValueBinding implements Externalizable
Constructor and Description |
---|
LegacyValueBinding()
Deprecated.
|
LegacyValueBinding(javax.el.ValueExpression ve)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpressionString()
Deprecated.
Return the (possibly
null ) expression String,
including the delimiters, from which this
ValueBinding was built. |
Class |
getType(FacesContext context)
Deprecated.
Return the type of the property represented by this
ValueBinding , relative to the specified FacesContext . |
Object |
getValue(FacesContext context)
Deprecated.
Return the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
boolean |
isReadOnly(FacesContext context)
Deprecated.
Return
true if the specified property of the specified
property is known to be immutable; otherwise, return
false . |
void |
readExternal(ObjectInput in)
Deprecated.
|
void |
setValue(FacesContext context,
Object value)
Deprecated.
Set the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
void |
writeExternal(ObjectOutput out)
Deprecated.
|
public LegacyValueBinding()
public LegacyValueBinding(javax.el.ValueExpression ve)
public Object getValue(FacesContext context) throws EvaluationException, PropertyNotFoundException
ValueBinding
Return the value of the property represented by this
ValueBinding
, relative to the specified FacesContext
.
getValue
in class ValueBinding
context
- FacesContext
for the current requestEvaluationException
- 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 readablepublic void setValue(FacesContext context, Object value) throws EvaluationException, PropertyNotFoundException
ValueBinding
Set the value of the property represented by this
ValueBinding
, relative to the specified FacesContext
.
setValue
in class ValueBinding
context
- FacesContext
for the current requestvalue
- The new value to be setEvaluationException
- 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 writeablepublic boolean isReadOnly(FacesContext context) throws EvaluationException, PropertyNotFoundException
ValueBinding
Return true
if the specified property of the specified
property is known to be immutable; otherwise, return
false
.
isReadOnly
in class ValueBinding
context
- FacesContext
for the current requestEvaluationException
- 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 existpublic Class getType(FacesContext context) throws EvaluationException, PropertyNotFoundException
ValueBinding
Return the type of the property represented by this
ValueBinding
, relative to the specified FacesContext
.
getType
in class ValueBinding
context
- FacesContext
for the current requestEvaluationException
- 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 existpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public String getExpressionString()
ValueBinding
Return the (possibly null
) expression String,
including the delimiters, from which this
ValueBinding
was built.
getExpressionString
in class ValueBinding
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.