|
||||||||||
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.tobago.component.MethodBindingToMethodExpression
public class MethodBindingToMethodExpression
Constructor Summary | |
---|---|
MethodBindingToMethodExpression()
No-arg constructor used during restoreState |
|
MethodBindingToMethodExpression(MethodBinding methodBinding)
Creates a new instance of MethodBindingToMethodExpression |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodBindingToMethodExpression()
public MethodBindingToMethodExpression(MethodBinding methodBinding)
methodBinding
- The MethodBinding to wrap.Method Detail |
---|
public MethodBinding getMethodBinding()
public MethodInfo getMethodInfo(ELContext context) throws ELException
getMethodInfo
in class MethodExpression
IllegalStateException
- if expected params types have not been determined.
ELException
public Object invoke(ELContext context, Object[] params) throws ELException
invoke
in class MethodExpression
ELException
public boolean isLiteralText()
isLiteralText
in class Expression
public String getExpressionString()
getExpressionString
in class Expression
public Object saveState(FacesContext context)
saveState
in interface StateHolder
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
public void setTransient(boolean transientFlag)
setTransient
in interface StateHolder
public boolean isTransient()
isTransient
in interface StateHolder
public int hashCode()
hashCode
in class Expression
public boolean equals(Object obj)
equals
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |