public class

MethodBindingToMethodExpression

extends MethodExpression
implements StateHolder
java.lang.Object
   ↳ javax.el.Expression
     ↳ javax.el.MethodExpression
       ↳ org.apache.myfaces.tobago.component.MethodBindingToMethodExpression

Summary

Public Constructors
MethodBindingToMethodExpression()
No-arg constructor used during restoreState
MethodBindingToMethodExpression(MethodBinding methodBinding)
Creates a new instance of MethodBindingToMethodExpression
Public Methods
boolean equals(Object obj)
String getExpressionString()
MethodBinding getMethodBinding()
Return the wrapped MethodBinding.
MethodInfo getMethodInfo(ELContext context)
Note: MethodInfo.getParamTypes() may incorrectly return an empty class array if invoke() has not been called.
int hashCode()
Object invoke(ELContext context, Object[] params)
boolean isLiteralText()
boolean isTransient()
void restoreState(FacesContext context, Object state)
Object saveState(FacesContext context)
void setTransient(boolean transientFlag)
[Expand]
Inherited Methods
From class javax.el.MethodExpression
From class javax.el.Expression
From class java.lang.Object
From interface javax.faces.component.StateHolder

Public Constructors

public MethodBindingToMethodExpression ()

No-arg constructor used during restoreState

public MethodBindingToMethodExpression (MethodBinding methodBinding)

Creates a new instance of MethodBindingToMethodExpression

Parameters
methodBinding The MethodBinding to wrap.

Public Methods

public boolean equals (Object obj)

public String getExpressionString ()

public MethodBinding getMethodBinding ()

Return the wrapped MethodBinding.

Returns
  • the wrapped MethodBinding

public MethodInfo getMethodInfo (ELContext context)

Note: MethodInfo.getParamTypes() may incorrectly return an empty class array if invoke() has not been called.

Throws
IllegalStateException if expected params types have not been determined.
ELException

public int hashCode ()

public Object invoke (ELContext context, Object[] params)

Throws
ELException

public boolean isLiteralText ()

public boolean isTransient ()

public void restoreState (FacesContext context, Object state)

public Object saveState (FacesContext context)

public void setTransient (boolean transientFlag)