org.apache.myfaces.el.convert
Class ValueExpressionToValueBinding
java.lang.Object
javax.faces.el.ValueBinding
org.apache.myfaces.el.convert.ValueExpressionToValueBinding
- All Implemented Interfaces:
- StateHolder
public class ValueExpressionToValueBinding
- extends ValueBinding
- implements 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:
ValueExpressionToValueBinding
ValueExpressionToValueBinding
public ValueExpressionToValueBinding()
ValueExpressionToValueBinding
public ValueExpressionToValueBinding(javax.el.ValueExpression valueExpression)
- Creates a new instance of ValueExpressionToValueBinding
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getValueExpression
public javax.el.ValueExpression getValueExpression()
- Returns:
- the valueExpression
getExpressionString
public String getExpressionString()
- Overrides:
getExpressionString
in class ValueBinding
setValue
public void setValue(FacesContext facesContext,
Object value)
throws EvaluationException,
PropertyNotFoundException
- Specified by:
setValue
in class ValueBinding
- Throws:
EvaluationException
PropertyNotFoundException
isReadOnly
public boolean isReadOnly(FacesContext facesContext)
throws EvaluationException,
PropertyNotFoundException
- Specified by:
isReadOnly
in class ValueBinding
- Throws:
EvaluationException
PropertyNotFoundException
getValue
public Object getValue(FacesContext facesContext)
throws EvaluationException,
PropertyNotFoundException
- Specified by:
getValue
in class ValueBinding
- Throws:
EvaluationException
PropertyNotFoundException
getType
public Class getType(FacesContext facesContext)
throws EvaluationException,
PropertyNotFoundException
- Specified by:
getType
in class ValueBinding
- Throws:
EvaluationException
PropertyNotFoundException
restoreState
public void restoreState(FacesContext facesContext,
Object state)
- Specified by:
restoreState
in interface StateHolder
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface StateHolder
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.