Package org.apache.myfaces.event
Class SetPropertyActionListener
- java.lang.Object
-
- org.apache.myfaces.event.SetPropertyActionListener
-
- All Implemented Interfaces:
EventListener,StateHolder,ActionListener,FacesListener
public class SetPropertyActionListener extends Object implements ActionListener, StateHolder
The MyFaces implementation of theSetPropertyActionListener.- Since:
- 1.2
- Author:
- Dennis Byrne
-
-
Field Summary
-
Fields inherited from interface javax.faces.event.ActionListener
TO_FLOW_DOCUMENT_ID_ATTR_NAME
-
-
Constructor Summary
Constructors Constructor Description SetPropertyActionListener()SetPropertyActionListener(javax.el.ValueExpression target, javax.el.ValueExpression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.el.ValueExpressiongetTarget()javax.el.ValueExpressiongetValue()booleanisTransient()voidprocessAction(ActionEvent actionEvent)voidrestoreState(FacesContext context, Object state)ObjectsaveState(FacesContext context)voidsetTarget(javax.el.ValueExpression target)voidsetTransient(boolean trans)voidsetValue(javax.el.ValueExpression value)
-
-
-
Method Detail
-
processAction
public void processAction(ActionEvent actionEvent) throws AbortProcessingException
- Specified by:
processActionin interfaceActionListener- Throws:
AbortProcessingException
-
saveState
public Object saveState(FacesContext context)
- Specified by:
saveStatein interfaceStateHolder
-
restoreState
public void restoreState(FacesContext context, Object state)
- Specified by:
restoreStatein interfaceStateHolder
-
isTransient
public boolean isTransient()
- Specified by:
isTransientin interfaceStateHolder
-
setTransient
public void setTransient(boolean trans)
- Specified by:
setTransientin interfaceStateHolder
-
getTarget
public javax.el.ValueExpression getTarget()
-
setTarget
public void setTarget(javax.el.ValueExpression target)
-
getValue
public javax.el.ValueExpression getValue()
-
setValue
public void setValue(javax.el.ValueExpression value)
-
-