org.apache.myfaces.test.mock
Class MockVariableResolver

java.lang.Object
  extended by javax.faces.el.VariableResolver
      extended by org.apache.myfaces.test.mock.MockVariableResolver

public class MockVariableResolver
extends javax.faces.el.VariableResolver

Mock implementation of VariableResolver.

This implementation recognizes the standard scope names applicationScope, facesContext, RequestScope, and sessionScope, plus it knows how to search in ascending scopes for non-reserved names.

$Id$

Since:
1.0.0

Constructor Summary
MockVariableResolver()
          Construct a default instance.
 
Method Summary
 Object resolveVariable(javax.faces.context.FacesContext context, String name)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockVariableResolver

public MockVariableResolver()

Construct a default instance.

Method Detail

resolveVariable

public Object resolveVariable(javax.faces.context.FacesContext context,
                              String name)

Specified by:
resolveVariable in class javax.faces.el.VariableResolver


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.