org.jboss.jsfunit.analysis.el
Class JSFUnitVariableMapper

java.lang.Object
  extended by javax.el.VariableMapper
      extended by org.jboss.jsfunit.analysis.el.JSFUnitVariableMapper

public class JSFUnitVariableMapper
extends javax.el.VariableMapper

Since:
1.0
Author:
Jason

Constructor Summary
JSFUnitVariableMapper(Map<String,Class<?>> managedBeans, javax.el.ExpressionFactory factory)
           
 
Method Summary
 javax.el.ValueExpression resolveVariable(String variable)
          We aren't evaluating anything, so we don't need the actual object the variable refers to, we just need that object's class.
 javax.el.ValueExpression setVariable(String variable, javax.el.ValueExpression expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSFUnitVariableMapper

public JSFUnitVariableMapper(Map<String,Class<?>> managedBeans,
                             javax.el.ExpressionFactory factory)
Method Detail

resolveVariable

public javax.el.ValueExpression resolveVariable(String variable)
We aren't evaluating anything, so we don't need the actual object the variable refers to, we just need that object's class. Once we have the class, our ELResolver implementation will be responsible for reflecting on that class to resolve any properties or methods.

Specified by:
resolveVariable in class javax.el.VariableMapper

setVariable

public javax.el.ValueExpression setVariable(String variable,
                                            javax.el.ValueExpression expression)
Specified by:
setVariable in class javax.el.VariableMapper


Copyright © 2007-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.