com.sun.facelets.el
Class VariableMapperWrapper

java.lang.Object
  extended by javax.el.VariableMapper
      extended by com.sun.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.6 2007/09/24 16:06:12 youngm Exp $
Author:
Jacob Hookom

Constructor Summary
VariableMapperWrapper(javax.el.VariableMapper orig)
           
 
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
 

Constructor Detail

VariableMapperWrapper

public VariableMapperWrapper(javax.el.VariableMapper orig)
Method Detail

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 © 2005 All Rights Reserved.