org.apache.myfaces.el
Class ValueBindingImpl
java.lang.Object
|
+--javax.faces.el.ValueBinding
|
+--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: 1.54 $ $Date: 2004/10/13 11:51:00 $
$Log: ValueBindingImpl.java,v $
Revision 1.54 2004/10/13 11:51:00 matze
renamed packages to org.apache
Revision 1.53 2004/10/01 12:01:05 dave0000
remove unneeded checks
Revision 1.52 2004/10/01 11:54:29 dave0000
add detailed error messages for "base is null"
Revision 1.51 2004/09/28 19:11:49 dave0000
uppercase static final prop
remove redundant code
Revision 1.50 2004/09/28 18:29:48 dave0000
fix for bug 1034332: ValueBinding.getExpressionString() not implemented
Revision 1.49 2004/09/20 14:35:48 dave0000
bug 1030875:
getType() should return null if type cannot be determined
isReadOnly() should return false if read-only cannot be determined
Revision 1.48 2004/07/27 06:28:34 dave0000
fix issue with getType of literal expressions (and other improvements)
Revision 1.47 2004/07/07 08:34:58 mwessendorf
removed unused import-statements
Revision 1.46 2004/07/07 00:25:07 o_rossmueller
tidy up config/confignew package (moved confignew classes to package config)
Revision 1.45 2004/07/06 23:46:01 o_rossmueller
tidy up config/confignew package
Revision 1.44 2004/07/01 22:05:12 mwessendorf
ASF switch
Revision 1.43 2004/06/28 22:12:13 o_rossmueller
fix #978654: do not coerce null
Revision 1.42 2004/06/16 23:02:24 o_rossmueller
merged confignew_branch
Revision 1.41.2.1 2004/06/16 02:07:23 o_rossmueller
get navigation rules from RuntimeConfig
refactored all remaining usages of MyFacesFactoryFinder to use RuntimeConfig
Revision 1.41 2004/05/31 02:28:37 dave0000
Fix for: [955111] RestoreState of outputText with mixed ValueBinding attribute
Revision 1.40 2004/05/11 04:24:10 dave0000
Bug 943166: add value coercion to ManagedBeanConfigurator
Revision 1.39 2004/05/10 05:30:14 dave0000
Fix issue with setting Managed Bean to a wrong scope
Revision 1.38 2004/04/26 05:54:59 dave0000
Add coercion to ValueBinding (and related changes)
Revision 1.37 2004/04/08 05:16:45 dave0000
change to always use JSF PropertyResolver (was using JSP PR sometimes)
Revision 1.36 2004/04/07 09:46:38 tinytoony
changed exception handling to show root cause
Revision 1.35 2004/04/07 03:21:19 dave0000
fix issue with trim()ing of expression strings
prepare for PropertyResolver integration
Revision 1.34 2004/04/07 01:52:55 dave0000
fix set "root" variable - was setting in the wrong scope if new var
Revision 1.33 2004/04/07 01:40:13 dave0000
fix set "root" variable bug
Revision 1.32 2004/03/30 07:40:08 dave0000
implement mixed string-reference expressions
- Author:
- Manfred Geiler (latest modification by $Author: matze $), Anton Koinov
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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.
getExpressionString
public java.lang.String getExpressionString()
- Specified by:
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.PropertyNotFoundException
- Specified by:
setValue
in class javax.faces.el.ValueBinding
javax.faces.el.PropertyNotFoundException
getValue
public java.lang.Object getValue(javax.faces.context.FacesContext facesContext)
throws javax.faces.el.PropertyNotFoundException
- Specified by:
getValue
in class javax.faces.el.ValueBinding
javax.faces.el.PropertyNotFoundException
resolveToBaseAndProperty
protected java.lang.Object resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext)
throws javax.servlet.jsp.el.ELException,
ValueBindingImpl.NotVariableReferenceException
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