public final class LegacyValueBinding extends javax.faces.el.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(javax.faces.context.FacesContext context)
Deprecated.
Return the type of the property represented by this
ValueBinding , relative to the specified FacesContext . |
Object |
getValue(javax.faces.context.FacesContext context)
Deprecated.
Return the value of the property represented by this
ValueBinding , relative to the specified FacesContext . |
boolean |
isReadOnly(javax.faces.context.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(javax.faces.context.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(javax.faces.context.FacesContext context) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
javax.faces.el.ValueBinding
Return the value of the property represented by this
ValueBinding
, relative to the specified FacesContext
.
getValue
in class javax.faces.el.ValueBinding
context
- FacesContext
for the current requestjavax.faces.el.EvaluationException
- if an exception is thrown while getting
the value (the thrown exception must be included as the
cause
property of this exception)javax.faces.el.PropertyNotFoundException
- if a specified property name
does not exist, or is not readablepublic void setValue(javax.faces.context.FacesContext context, Object value) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
javax.faces.el.ValueBinding
Set the value of the property represented by this
ValueBinding
, relative to the specified FacesContext
.
setValue
in class javax.faces.el.ValueBinding
context
- FacesContext
for the current requestvalue
- The new value to be setjavax.faces.el.EvaluationException
- if an exception is thrown while setting
the value (the thrown exception must be included as the
cause
property of this exception)javax.faces.el.PropertyNotFoundException
- if a specified property name
does not exist, or is not writeablepublic boolean isReadOnly(javax.faces.context.FacesContext context) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
javax.faces.el.ValueBinding
Return true
if the specified property of the specified
property is known to be immutable; otherwise, return
false
.
isReadOnly
in class javax.faces.el.ValueBinding
context
- FacesContext
for the current requestjavax.faces.el.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)javax.faces.el.PropertyNotFoundException
- if a specified property name
does not existpublic Class getType(javax.faces.context.FacesContext context) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
javax.faces.el.ValueBinding
Return the type of the property represented by this
ValueBinding
, relative to the specified FacesContext
.
getType
in class javax.faces.el.ValueBinding
context
- FacesContext
for the current requestjavax.faces.el.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)javax.faces.el.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()
javax.faces.el.ValueBinding
Return the (possibly null
) expression String,
including the delimiters, from which this
ValueBinding
was built.
getExpressionString
in class javax.faces.el.ValueBinding
Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.