org.apache.myfaces.test.el
Class MockExpressionFactory

java.lang.Object
  extended by javax.el.ExpressionFactory
      extended by org.apache.myfaces.test.el.MockExpressionFactory

public class MockExpressionFactory
extends javax.el.ExpressionFactory

Mock implementation of ExpressionFactory.

Since:
1.0.0

Constructor Summary
MockExpressionFactory()
          Creates a new instance of MockExpressionFactory
 
Method Summary
 Object coerceToType(Object object, Class targetType)
          
 javax.el.MethodExpression createMethodExpression(javax.el.ELContext context, String expression, Class expectedType, Class[] signature)
          
 javax.el.ValueExpression createValueExpression(javax.el.ELContext context, String expression, Class expectedType)
          
 javax.el.ValueExpression createValueExpression(Object instance, Class expectedType)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockExpressionFactory

public MockExpressionFactory()
Creates a new instance of MockExpressionFactory

Method Detail

coerceToType

public Object coerceToType(Object object,
                           Class targetType)

Specified by:
coerceToType in class javax.el.ExpressionFactory

createMethodExpression

public javax.el.MethodExpression createMethodExpression(javax.el.ELContext context,
                                                        String expression,
                                                        Class expectedType,
                                                        Class[] signature)

Specified by:
createMethodExpression in class javax.el.ExpressionFactory

createValueExpression

public javax.el.ValueExpression createValueExpression(javax.el.ELContext context,
                                                      String expression,
                                                      Class expectedType)

Specified by:
createValueExpression in class javax.el.ExpressionFactory

createValueExpression

public javax.el.ValueExpression createValueExpression(Object instance,
                                                      Class expectedType)

Specified by:
createValueExpression in class javax.el.ExpressionFactory


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