org.apache.myfaces.el
Class ValueBindingImpl

java.lang.Object
  extended by javax.faces.el.ValueBinding
      extended by org.apache.myfaces.el.ValueBindingImpl
All Implemented Interfaces:
javax.faces.component.StateHolder

public class ValueBindingImpl
extends javax.faces.el.ValueBinding
implements javax.faces.component.StateHolder

Version:
$Revision: 472618 $ $Date: 2006-11-08 21:06:54 +0100 (Mi, 08 Nov 2006) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $), Anton Koinov

Nested Class Summary
static class ValueBindingImpl.ELVariableResolver
           
static class ValueBindingImpl.NotVariableReferenceException
           
 
Field Summary
protected  javax.faces.application.Application _application
           
protected  java.lang.Object _expression
           
protected  java.lang.String _expressionString
           
protected static javax.servlet.jsp.el.FunctionMapper s_functionMapper
          To implement function support, subclass and use a static initialization block to assign your own function mapper
 
Constructor Summary
ValueBindingImpl()
          Empty constructor, so that new instances can be created when restoring state.
ValueBindingImpl(javax.faces.application.Application application, java.lang.String expression)
           
 
Method Summary
 java.lang.String getExpressionString()
           
protected  RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)
           
 java.lang.Class getType(javax.faces.context.FacesContext facesContext)
           
 java.lang.Object getValue(javax.faces.context.FacesContext facesContext)
           
 boolean isReadOnly(javax.faces.context.FacesContext facesContext)
           
 boolean isTransient()
           
protected  java.lang.Object resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext)
           
 void restoreState(javax.faces.context.FacesContext facesContext, java.lang.Object obj)
           
 java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
           
 void setTransient(boolean flag)
           
 void setValue(javax.faces.context.FacesContext facesContext, java.lang.Object newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

s_functionMapper

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


_application

protected javax.faces.application.Application _application

_expressionString

protected java.lang.String _expressionString

_expression

protected java.lang.Object _expression
Constructor Detail

ValueBindingImpl

public ValueBindingImpl(javax.faces.application.Application application,
                        java.lang.String expression)

ValueBindingImpl

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

Method Detail

getExpressionString

public java.lang.String getExpressionString()
Overrides:
getExpressionString in class javax.faces.el.ValueBinding

isReadOnly

public boolean isReadOnly(javax.faces.context.FacesContext facesContext)
Specified by:
isReadOnly in class javax.faces.el.ValueBinding

getType

public java.lang.Class getType(javax.faces.context.FacesContext facesContext)
Specified by:
getType in class javax.faces.el.ValueBinding

setValue

public void setValue(javax.faces.context.FacesContext facesContext,
                     java.lang.Object newValue)
              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

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

resolveToBaseAndProperty

protected java.lang.Object resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext)
                                             throws javax.servlet.jsp.el.ELException,
                                                    ValueBindingImpl.NotVariableReferenceException
Throws:
javax.servlet.jsp.el.ELException
ValueBindingImpl.NotVariableReferenceException

getRuntimeConfig

protected RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext facesContext)
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext facesContext,
                         java.lang.Object obj)
Specified by:
restoreState in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean flag)
Specified by:
setTransient in interface javax.faces.component.StateHolder


Copyright © 2011 Apache Software Foundation. All Rights Reserved.