org.apache.myfaces.el.convert
Class ValueExpressionToValueBinding
java.lang.Object
javax.faces.el.ValueBinding
org.apache.myfaces.el.convert.ValueExpressionToValueBinding
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class ValueExpressionToValueBinding
- extends javax.faces.el.ValueBinding
- implements javax.faces.component.StateHolder
Converter for legacy ValueBinding objects. See JSF 1.2 section 5.8.3
ATTENTION: If you make changes to this class, treat javax.faces.component.ValueExpressionToValueBinding accordingly.
- Author:
- Stan Silvert
- See Also:
javax.faces.component.ValueExpressionToValueBinding
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getExpressionString()
|
java.lang.Class |
getType(javax.faces.context.FacesContext facesContext)
|
java.lang.Object |
getValue(javax.faces.context.FacesContext facesContext)
|
javax.el.ValueExpression |
getValueExpression()
|
int |
hashCode()
|
boolean |
isReadOnly(javax.faces.context.FacesContext facesContext)
|
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setTransient(boolean newTransientValue)
|
void |
setValue(javax.faces.context.FacesContext facesContext,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ValueExpressionToValueBinding
public ValueExpressionToValueBinding()
ValueExpressionToValueBinding
public ValueExpressionToValueBinding(javax.el.ValueExpression valueExpression)
- Creates a new instance of ValueExpressionToValueBinding
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getValueExpression
public javax.el.ValueExpression getValueExpression()
- Returns:
- the valueExpression
getExpressionString
public java.lang.String getExpressionString()
- Overrides:
getExpressionString
in class javax.faces.el.ValueBinding
setValue
public void setValue(javax.faces.context.FacesContext facesContext,
java.lang.Object value)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
setValue
in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
isReadOnly
public boolean isReadOnly(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
isReadOnly
in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
getValue
public java.lang.Object getValue(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
getValue
in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
getType
public java.lang.Class getType(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Specified by:
getType
in class javax.faces.el.ValueBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
restoreState
public void restoreState(javax.faces.context.FacesContext facesContext,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface javax.faces.component.StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.faces.component.StateHolder
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.