net.sourceforge.smile.el
Class ValueBindingImpl
java.lang.Object
javax.faces.el.ValueBinding
net.sourceforge.smile.el.ValueBindingImpl
- public class ValueBindingImpl
- extends javax.faces.el.ValueBinding
This class represents a sinlge reference expression, and is capable of resolving that expression,
as well as provide some meta-information such as the type the expression is refering to, and readability of
this target..
Constructor Summary |
ValueBindingImpl(javax.faces.application.Application application,
java.lang.String expression)
|
Method Summary |
java.lang.String |
getReference()
Retrieve the expression for this binding. |
java.lang.Class |
getType(javax.faces.context.FacesContext context)
|
java.lang.Object |
getValue(javax.faces.context.FacesContext context)
|
boolean |
isReadOnly(javax.faces.context.FacesContext context)
|
void |
setReference(java.lang.String reference)
Change the expression for this binding. |
void |
setValue(javax.faces.context.FacesContext context,
java.lang.Object newValue)
|
static java.lang.Object |
smileGetTypeOfFunction(java.lang.Object object)
|
static java.lang.Object |
smileWriteFunction(java.lang.Object object,
java.lang.Object newValue)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueBindingImpl
public ValueBindingImpl(javax.faces.application.Application application,
java.lang.String expression)
getValue
public java.lang.Object getValue(javax.faces.context.FacesContext context)
throws javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.PropertyNotFoundException
- See Also:
ValueBinding.getValue(javax.faces.context.FacesContext)
setValue
public void setValue(javax.faces.context.FacesContext context,
java.lang.Object newValue)
throws javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.PropertyNotFoundException
- See Also:
ValueBinding.setValue(javax.faces.context.FacesContext, java.lang.Object)
isReadOnly
public boolean isReadOnly(javax.faces.context.FacesContext context)
throws javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.PropertyNotFoundException
- See Also:
ValueBinding.isReadOnly(javax.faces.context.FacesContext)
getType
public java.lang.Class getType(javax.faces.context.FacesContext context)
throws javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.PropertyNotFoundException
- See Also:
ValueBinding.getType(javax.faces.context.FacesContext)
getReference
public java.lang.String getReference()
- Retrieve the expression for this binding.
- Returns:
setReference
public void setReference(java.lang.String reference)
- Change the expression for this binding.
smileGetTypeOfFunction
public static java.lang.Object smileGetTypeOfFunction(java.lang.Object object)
smileWriteFunction
public static java.lang.Object smileWriteFunction(java.lang.Object object,
java.lang.Object newValue)