|
ArcGIS Server Geoportal extension 10
|
||||||||
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(javax.faces.context.FacesContext arg0)
Returns String.class |
Object |
invoke(javax.faces.context.FacesContext arg0,
Object[] arg1)
Returns the returnString. |
boolean |
isTransient()
|
void |
restoreState(javax.faces.context.FacesContext facescontext,
Object obj)
Restoring State |
Object |
saveState(javax.faces.context.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(javax.faces.context.FacesContext arg0) throws javax.faces.el.MethodNotFoundException
getType
in class javax.faces.el.MethodBinding
arg0
- the arg0
javax.faces.el.MethodNotFoundException
- the method not found exceptionpublic Object invoke(javax.faces.context.FacesContext arg0, Object[] arg1) throws javax.faces.el.EvaluationException, javax.faces.el.MethodNotFoundException
invoke
in class javax.faces.el.MethodBinding
arg0
- the arg0arg1
- the arg1
javax.faces.el.EvaluationException
- the evaluation exception
javax.faces.el.MethodNotFoundException
- the method not found exceptionpublic boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void restoreState(javax.faces.context.FacesContext facescontext, Object obj)
restoreState
in interface javax.faces.component.StateHolder
facescontext
- obj
- public Object saveState(javax.faces.context.FacesContext facescontext)
saveState
in interface javax.faces.component.StateHolder
facescontext
- the facescontext
public void setTransient(boolean flag)
setTransient
in interface javax.faces.component.StateHolder
flag
-
|
ArcGIS Server Geoportal extension 10
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |