|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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(java.lang.Object obj)
|
java.lang.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()
|
java.lang.Object |
invoke(javax.el.ELContext context,
java.lang.Object[] params)
|
boolean |
isLiteralText()
|
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.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.MethodExpression
java.lang.IllegalStateException
- if expected params types have not been determined.
javax.el.PropertyNotFoundException
javax.el.MethodNotFoundException
javax.el.ELException
public java.lang.Object invoke(javax.el.ELContext context, java.lang.Object[] params) throws javax.el.PropertyNotFoundException, javax.el.MethodNotFoundException, javax.el.ELException
invoke
in class javax.el.MethodExpression
javax.el.PropertyNotFoundException
javax.el.MethodNotFoundException
javax.el.ELException
public boolean isLiteralText()
isLiteralText
in class javax.el.Expression
public java.lang.String getExpressionString()
getExpressionString
in class javax.el.Expression
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
public void setTransient(boolean transientFlag)
setTransient
in interface javax.faces.component.StateHolder
public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public int hashCode()
hashCode
in class javax.el.Expression
public boolean equals(java.lang.Object obj)
equals
in class javax.el.Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |