|
JSF-Spring | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.el.MethodBinding de.mindmatters.faces.el.ConstantMethodBinding
public final class ConstantMethodBinding
Convenient method binding that does nothing other than returning a fixed outcome String when invoked.
Constructor Summary | |
---|---|
ConstantMethodBinding()
Default constructor. |
|
ConstantMethodBinding(java.lang.String action)
Creates an method binding that takes a fixed outcome string action . |
Method Summary | |
---|---|
java.lang.Class |
getType(FacesContext context)
|
java.lang.Object |
invoke(FacesContext context,
java.lang.Object[] params)
|
boolean |
isTransient()
|
void |
restoreState(FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(FacesContext context)
|
void |
setTransient(boolean newTransientValue)
|
Methods inherited from class javax.faces.el.MethodBinding |
---|
getExpressionString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantMethodBinding()
public ConstantMethodBinding(java.lang.String action)
action
.
action
- The fixed outcome StringMethod Detail |
---|
public java.lang.Class getType(FacesContext context)
getType
in class MethodBinding
public java.lang.Object invoke(FacesContext context, java.lang.Object[] params)
invoke
in class MethodBinding
public boolean isTransient()
isTransient
in interface StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface StateHolder
public java.lang.Object saveState(FacesContext context)
saveState
in interface StateHolder
public void restoreState(FacesContext context, java.lang.Object state)
restoreState
in interface StateHolder
|
JSF-Spring | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |