|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.el.MethodBinding
com.esri.gpt.framework.jsf.components.SimpleMethodBinding
public class SimpleMethodBinding
The Class SimpleMethodBinding. Can be used instead of method binding for actions when we need to return just a plain String.
| Constructor Summary | |
|---|---|
SimpleMethodBinding(String returnString)
Instantiates a new simple method binding. |
|
| Method Summary | |
|---|---|
Class |
getType(FacesContext arg0)
Returns String.class |
Object |
invoke(FacesContext arg0,
Object[] arg1)
Returns the returnString. |
boolean |
isTransient()
|
void |
restoreState(FacesContext facescontext,
Object obj)
Restoring State |
Object |
saveState(FacesContext facescontext)
Save state. |
void |
setTransient(boolean flag)
Setting transient |
| 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 SimpleMethodBinding(String returnString)
returnString - the return string| Method Detail |
|---|
public Class getType(FacesContext arg0)
throws MethodNotFoundException
getType in class MethodBindingarg0 - the arg0
MethodNotFoundException - the method not found exception
public Object invoke(FacesContext arg0,
Object[] arg1)
throws EvaluationException,
MethodNotFoundException
invoke in class MethodBindingarg0 - the arg0arg1 - the arg1
EvaluationException - the evaluation exception
MethodNotFoundException - the method not found exceptionpublic boolean isTransient()
isTransient in interface StateHolder
public void restoreState(FacesContext facescontext,
Object obj)
restoreState in interface StateHolderfacescontext - obj - public Object saveState(FacesContext facescontext)
saveState in interface StateHolderfacescontext - the facescontext
public void setTransient(boolean flag)
setTransient in interface StateHolderflag -
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||