org.ajax4jsf.tests
Class MockMethodExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.MethodExpression
          extended by org.ajax4jsf.tests.MockMethodExpression
All Implemented Interfaces:
java.io.Serializable

public class MockMethodExpression
extends javax.el.MethodExpression

Author:
Administrator
See Also:
Serialized Form

Nested Class Summary
static interface MockMethodExpression.MethodExpressionInvocationResult
           
 
Constructor Summary
MockMethodExpression(java.lang.String expressionString, java.lang.Class<?> returnType, MockMethodExpression.MethodExpressionInvocationResult result)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getExpressionString()
           
 java.util.List<java.lang.Object[]> getInvocationArgs()
           
 javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
           
 int hashCode()
           
 java.lang.Object invoke(javax.el.ELContext context, java.lang.Object[] params)
           
 boolean isLiteralText()
           
 boolean lastInvocationMatched(java.lang.Object... objects)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockMethodExpression

public MockMethodExpression(java.lang.String expressionString,
                            java.lang.Class<?> returnType,
                            MockMethodExpression.MethodExpressionInvocationResult result)
Method Detail

getMethodInfo

public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
Specified by:
getMethodInfo in class javax.el.MethodExpression

invoke

public java.lang.Object invoke(javax.el.ELContext context,
                               java.lang.Object[] params)
Specified by:
invoke in class javax.el.MethodExpression

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in class javax.el.Expression

getExpressionString

public java.lang.String getExpressionString()
Specified by:
getExpressionString in class javax.el.Expression

hashCode

public int hashCode()
Specified by:
hashCode in class javax.el.Expression

isLiteralText

public boolean isLiteralText()
Specified by:
isLiteralText in class javax.el.Expression

getInvocationArgs

public java.util.List<java.lang.Object[]> getInvocationArgs()

reset

public void reset()

lastInvocationMatched

public boolean lastInvocationMatched(java.lang.Object... objects)


Copyright © 2009. All Rights Reserved.