|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.el.MethodBinding org.apache.shale.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 methodMethod 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.MethodBinding
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException
public Class getType(javax.faces.context.FacesContext context)
getType
in class javax.faces.el.MethodBinding
public String getExpressionString()
getExpressionString
in class javax.faces.el.MethodBinding
public 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.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void setTransient(boolean transientFlag)
setTransient
in interface javax.faces.component.StateHolder
public int hashCode()
hashCode
in class Object
public boolean equals(Object otherObj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |