|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.el.Expression
javax.el.MethodExpression
org.apache.myfaces.component.MethodBindingToMethodExpression
public class MethodBindingToMethodExpression
Converts a MethodBinding to a MethodExpression TODO: find a way to share the implementation of class with impl. This class could be moved or changed in the future
| Constructor Summary | |
|---|---|
MethodBindingToMethodExpression()
No-arg constructor used during restoreState |
|
MethodBindingToMethodExpression(javax.faces.el.MethodBinding methodBinding)
Creates a new instance of MethodBindingToMethodExpression |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getExpressionString()
|
javax.faces.el.MethodBinding |
getMethodBinding()
Return the wrapped MethodBinding. |
javax.el.MethodInfo |
getMethodInfo(javax.el.ELContext context)
Note: MethodInfo.getParamTypes() may incorrectly return an empty class array if invoke() has not been called. |
int |
hashCode()
|
Object |
invoke(javax.el.ELContext context,
Object[] params)
|
boolean |
isLiteralText()
|
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 MethodBindingToMethodExpression()
public MethodBindingToMethodExpression(javax.faces.el.MethodBinding methodBinding)
| Method Detail |
|---|
public javax.faces.el.MethodBinding getMethodBinding()
public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
throws javax.el.PropertyNotFoundException,
javax.el.MethodNotFoundException,
javax.el.ELException
getMethodInfo in class javax.el.MethodExpressionIllegalStateException - if expected params types have not been determined.
javax.el.PropertyNotFoundException
javax.el.MethodNotFoundException
javax.el.ELException
public Object invoke(javax.el.ELContext context,
Object[] params)
throws javax.el.PropertyNotFoundException,
javax.el.MethodNotFoundException,
javax.el.ELException
invoke in class javax.el.MethodExpressionjavax.el.PropertyNotFoundException
javax.el.MethodNotFoundException
javax.el.ELExceptionpublic boolean isLiteralText()
isLiteralText in class javax.el.Expressionpublic String getExpressionString()
getExpressionString in class javax.el.Expressionpublic 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 void setTransient(boolean transientFlag)
setTransient in interface javax.faces.component.StateHolderpublic boolean isTransient()
isTransient in interface javax.faces.component.StateHolderpublic int hashCode()
hashCode in class javax.el.Expressionpublic boolean equals(Object obj)
equals in class javax.el.Expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||