|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.el.MethodBinding
org.apache.myfaces.test.mock.MockMethodBinding
public class MockMethodBinding
Mock implementation of MethodBinding.
This implementation is subject to the following restrictions:
MockValueBinding.
| Constructor Summary | |
|---|---|
MockMethodBinding()
Construct a default instance. |
|
MockMethodBinding(javax.faces.application.Application application,
String ref,
Class[] args)
Construct a configured instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object otherObj)
|
String |
getExpressionString()
|
Class |
getType(javax.faces.context.FacesContext context)
|
int |
hashCode()
|
Object |
invoke(javax.faces.context.FacesContext context,
Object[] params)
|
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setTransient(boolean transientFlag)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockMethodBinding()
Construct a default instance.
public MockMethodBinding(javax.faces.application.Application application,
String ref,
Class[] args)
Construct a configured instance.
application - Application instance for this applicationref - Method binding expression to be parsedargs - Signature of this method| Method Detail |
|---|
public Object invoke(javax.faces.context.FacesContext context,
Object[] params)
throws javax.faces.el.EvaluationException,
javax.faces.el.MethodNotFoundException
invoke in class javax.faces.el.MethodBindingjavax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundExceptionpublic Class getType(javax.faces.context.FacesContext context)
getType in class javax.faces.el.MethodBindingpublic String getExpressionString()
getExpressionString in class javax.faces.el.MethodBindingpublic Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderpublic boolean isTransient()
isTransient in interface javax.faces.component.StateHolderpublic void setTransient(boolean transientFlag)
setTransient in interface javax.faces.component.StateHolderpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object otherObj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||