com.sun.faces.application
Class ValueBindingValueExpressionAdapter
java.lang.Object
javax.faces.el.ValueBinding
com.sun.faces.application.ValueBindingValueExpressionAdapter
- All Implemented Interfaces:
- java.io.Serializable, javax.faces.component.StateHolder
public class ValueBindingValueExpressionAdapter
- extends javax.faces.el.ValueBinding
- implements javax.faces.component.StateHolder, java.io.Serializable
Wrap a ValueExpression instance and expose it as a ValueBinding
- Author:
- Jacob Hookom
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getExpressionString()
|
java.lang.Class |
getType(javax.faces.context.FacesContext context)
|
java.lang.Object |
getValue(javax.faces.context.FacesContext context)
|
javax.el.ValueExpression |
getWrapped()
|
int |
hashCode()
|
boolean |
isReadOnly(javax.faces.context.FacesContext context)
|
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setTransient(boolean tranzient)
|
void |
setValue(javax.faces.context.FacesContext context,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ValueBindingValueExpressionAdapter
public ValueBindingValueExpressionAdapter()
ValueBindingValueExpressionAdapter
public ValueBindingValueExpressionAdapter(javax.el.ValueExpression valueExpression)
getExpressionString
public java.lang.String getExpressionString()
- Overrides:
getExpressionString
in class javax.faces.el.ValueBinding
getType
public java.lang.Class getType(javax.faces.context.FacesContext context)
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
getValue
public java.lang.Object getValue(javax.faces.context.FacesContext context)
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
isReadOnly
public boolean isReadOnly(javax.faces.context.FacesContext context)
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
setValue
public void setValue(javax.faces.context.FacesContext context,
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
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean tranzient)
- Specified by:
setTransient
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
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getWrapped
public javax.el.ValueExpression getWrapped()
Copyright © 2011 Oracle America, Inc. All Rights Reserved.