org.apache.myfaces.shared_tomahawk.el
Class SimpleActionMethodBinding
java.lang.Object
   javax.faces.el.MethodBinding
javax.faces.el.MethodBinding
       org.apache.myfaces.shared_tomahawk.el.SimpleActionMethodBinding
org.apache.myfaces.shared_tomahawk.el.SimpleActionMethodBinding
- All Implemented Interfaces: 
- javax.faces.component.StateHolder
- public class SimpleActionMethodBinding 
- extends javax.faces.el.MethodBinding- implements javax.faces.component.StateHolder
Convenient method binding that does nothing other than returning a fixed outcome String when invoked.
- Author:
- Manfred Geiler
 
 
| Methods inherited from class javax.faces.el.MethodBinding | 
| getExpressionString | 
 
 
SimpleActionMethodBinding
public SimpleActionMethodBinding(String outcome)
SimpleActionMethodBinding
public SimpleActionMethodBinding()
- Empty constructor, so that new instances can be created when restoring state.
 
invoke
public Object invoke(javax.faces.context.FacesContext facescontext,
                     Object[] aobj)
              throws javax.faces.el.EvaluationException,
                     javax.faces.el.MethodNotFoundException
- 
- Specified by:
- invokein class- javax.faces.el.MethodBinding
 
- 
- Throws:
- javax.faces.el.EvaluationException
- javax.faces.el.MethodNotFoundException
 
getType
public Class getType(javax.faces.context.FacesContext facescontext)
              throws javax.faces.el.MethodNotFoundException
- 
- Specified by:
- getTypein class- javax.faces.el.MethodBinding
 
- 
- Throws:
- javax.faces.el.MethodNotFoundException
 
saveState
public Object saveState(javax.faces.context.FacesContext facescontext)
- 
- Specified by:
- saveStatein interface- javax.faces.component.StateHolder
 
- 
 
restoreState
public void restoreState(javax.faces.context.FacesContext facescontext,
                         Object obj)
- 
- Specified by:
- restoreStatein interface- javax.faces.component.StateHolder
 
- 
 
isTransient
public boolean isTransient()
- 
- Specified by:
- isTransientin interface- javax.faces.component.StateHolder
 
- 
 
setTransient
public void setTransient(boolean flag)
- 
- Specified by:
- setTransientin interface- javax.faces.component.StateHolder
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.