org.apache.myfaces.el

Class ValueBindingImpl

public class ValueBindingImpl extends ValueBinding implements StateHolder

Version: $Revision: 278700 $ $Date: 2005-09-05 11:17:46 +0200 (Mon, 05 Sep 2005) $

Author: Manfred Geiler (latest modification by $Author: mbr $) Anton Koinov

Nested Class Summary
static classValueBindingImpl.ELVariableResolver
static classValueBindingImpl.NotVariableReferenceException
Field Summary
protected static FunctionMappers_functionMapper
To implement function support, subclass and use a static initialization block to assign your own function mapper
protected Application_application
protected Object_expression
protected String_expressionString
Constructor Summary
ValueBindingImpl(Application application, String expression)
ValueBindingImpl()
Empty constructor, so that new instances can be created when restoring state.
Method Summary
StringgetExpressionString()
protected RuntimeConfiggetRuntimeConfig(FacesContext facesContext)
ClassgetType(FacesContext facesContext)
ObjectgetValue(FacesContext facesContext)
booleanisReadOnly(FacesContext facesContext)
booleanisTransient()
protected ObjectresolveToBaseAndProperty(FacesContext facesContext)
voidrestoreState(FacesContext facesContext, Object obj)
ObjectsaveState(FacesContext facesContext)
voidsetTransient(boolean flag)
voidsetValue(FacesContext facesContext, Object newValue)
StringtoString()

Field Detail

s_functionMapper

protected static FunctionMapper s_functionMapper
To implement function support, subclass and use a static initialization block to assign your own function mapper

_application

protected Application _application

_expression

protected Object _expression

_expressionString

protected String _expressionString

Constructor Detail

ValueBindingImpl

public ValueBindingImpl(Application application, String expression)

ValueBindingImpl

public ValueBindingImpl()
Empty constructor, so that new instances can be created when restoring state.

Method Detail

getExpressionString

public String getExpressionString()

getRuntimeConfig

protected RuntimeConfig getRuntimeConfig(FacesContext facesContext)

getType

public Class getType(FacesContext facesContext)

getValue

public Object getValue(FacesContext facesContext)

isReadOnly

public boolean isReadOnly(FacesContext facesContext)

isTransient

public boolean isTransient()

resolveToBaseAndProperty

protected Object resolveToBaseAndProperty(FacesContext facesContext)

restoreState

public void restoreState(FacesContext facesContext, Object obj)

saveState

public Object saveState(FacesContext facesContext)

setTransient

public void setTransient(boolean flag)

setValue

public void setValue(FacesContext facesContext, Object newValue)

toString

public String toString()