|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 stringMethod Detail |
---|
public Class getType(FacesContext arg0) throws MethodNotFoundException
getType
in class MethodBinding
arg0
- the arg0
MethodNotFoundException
- the method not found exceptionpublic Object invoke(FacesContext arg0, Object[] arg1) throws EvaluationException, MethodNotFoundException
invoke
in class MethodBinding
arg0
- 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 StateHolder
facescontext
- obj
- public Object saveState(FacesContext facescontext)
saveState
in interface StateHolder
facescontext
- the facescontext
public void setTransient(boolean flag)
setTransient
in interface StateHolder
flag
-
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |