org.apache.myfaces.test.el
Class MockFunctionMapper

java.lang.Object
  extended by javax.el.FunctionMapper
      extended by org.apache.myfaces.test.el.MockFunctionMapper

public class MockFunctionMapper
extends javax.el.FunctionMapper

Mock implementation of FunctionMapper.

Since:
1.0.0

Constructor Summary
MockFunctionMapper()
          Creates a new instance of MockFunctionMapper
 
Method Summary
 void mapFunction(String prefix, String localName, Method method)
          Store a mapping of the specified prefix and localName to the specified method, which must be static.
 Method resolveFunction(String prefix, String localName)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFunctionMapper

public MockFunctionMapper()
Creates a new instance of MockFunctionMapper

Method Detail

mapFunction

public void mapFunction(String prefix,
                        String localName,
                        Method method)

Store a mapping of the specified prefix and localName to the specified method, which must be static.


resolveFunction

public Method resolveFunction(String prefix,
                              String localName)

Specified by:
resolveFunction in class javax.el.FunctionMapper


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