java.lang.Object
VariableMapper
com.sun.facelets.el.VariableMapperWrapper
- public final class VariableMapperWrapper
- extends 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.2 2005/08/24 04:38:57 jhook Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
private final VariableMapper target
vars
private java.util.Map vars
VariableMapperWrapper
public VariableMapperWrapper(VariableMapper orig)
resolveVariable
public ValueExpression resolveVariable(java.lang.String variable)
- First tries to resolve agains the inner Map, then the wrapped
ValueExpression.
setVariable
public ValueExpression setVariable(java.lang.String variable,
ValueExpression expression)
- Set the ValueExpression on the inner Map instance.