org.apache.myfaces.event
Class SetPropertyActionListener

java.lang.Object
  extended by org.apache.myfaces.event.SetPropertyActionListener
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener

public class SetPropertyActionListener
extends java.lang.Object
implements javax.faces.event.ActionListener, javax.faces.component.StateHolder

The MyFaces implementation of the SetPropertyActionListener.

Since:
1.2
Author:
Dennis Byrne

Constructor Summary
SetPropertyActionListener()
           
SetPropertyActionListener(javax.el.ValueExpression target, javax.el.ValueExpression value)
           
 
Method Summary
 javax.el.ValueExpression getTarget()
           
 javax.el.ValueExpression getValue()
           
 boolean isTransient()
           
 void processAction(javax.faces.event.ActionEvent actionEvent)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setTarget(javax.el.ValueExpression target)
           
 void setTransient(boolean _transient)
           
 void setValue(javax.el.ValueExpression value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetPropertyActionListener

public SetPropertyActionListener()

SetPropertyActionListener

public SetPropertyActionListener(javax.el.ValueExpression target,
                                 javax.el.ValueExpression value)
Method Detail

processAction

public void processAction(javax.faces.event.ActionEvent actionEvent)
                   throws javax.faces.event.AbortProcessingException
Specified by:
processAction in interface javax.faces.event.ActionListener
Throws:
javax.faces.event.AbortProcessingException

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean _transient)
Specified by:
setTransient in interface javax.faces.component.StateHolder

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)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.