org.apache.myfaces.view.facelets.el
Class VariableMapperWrapper
java.lang.Object
javax.el.VariableMapper
org.apache.myfaces.view.facelets.el.VariableMapperWrapper
public final class VariableMapperWrapper
- extends javax.el.VariableMapper
Utility class for wrapping another VariableMapper with a new context, represented by a Map
.
Modifications occur to the Map instance, but resolve against the wrapped VariableMapper if the Map doesn't contain
the ValueExpression requested.
- Version:
- $Id: VariableMapperWrapper.java,v 1.7 2008/07/13 19:01:43 rlubke Exp $
- Author:
- Jacob Hookom
Method Summary |
javax.el.ValueExpression |
resolveVariable(String variable)
First tries to resolve agains the inner Map, then the wrapped ValueExpression. |
javax.el.ValueExpression |
setVariable(String variable,
javax.el.ValueExpression expression)
Set the ValueExpression on the inner Map instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableMapperWrapper
public VariableMapperWrapper(javax.el.VariableMapper orig)
resolveVariable
public javax.el.ValueExpression resolveVariable(String variable)
- First tries to resolve agains the inner Map, then the wrapped ValueExpression.
- Specified by:
resolveVariable
in class javax.el.VariableMapper
- See Also:
VariableMapper.resolveVariable(java.lang.String)
setVariable
public javax.el.ValueExpression setVariable(String variable,
javax.el.ValueExpression expression)
- Set the ValueExpression on the inner Map instance.
- Specified by:
setVariable
in class javax.el.VariableMapper
- See Also:
VariableMapper.setVariable(java.lang.String, javax.el.ValueExpression)
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.