javax.faces.event
Class MethodExpressionValueChangeListener

java.lang.Object
  extended by javax.faces.event.MethodExpressionValueChangeListener
All Implemented Interfaces:
EventListener, StateHolder, FacesListener, ValueChangeListener

public class MethodExpressionValueChangeListener
extends Object
implements ValueChangeListener, StateHolder

See Javadoc of JSF Specification

Author:
Stan Silvert, Jakob Korherr

Constructor Summary
MethodExpressionValueChangeListener()
          Creates a new instance of MethodExpressionValueChangeListener
MethodExpressionValueChangeListener(javax.el.MethodExpression methodExpressionOneArg)
           
MethodExpressionValueChangeListener(javax.el.MethodExpression methodExpressionOneArg, javax.el.MethodExpression methodExpressionZeroArg)
           
 
Method Summary
 boolean isTransient()
           
 void processValueChange(ValueChangeEvent event)
           
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodExpressionValueChangeListener

public MethodExpressionValueChangeListener()
Creates a new instance of MethodExpressionValueChangeListener


MethodExpressionValueChangeListener

public MethodExpressionValueChangeListener(javax.el.MethodExpression methodExpressionOneArg)

MethodExpressionValueChangeListener

public MethodExpressionValueChangeListener(javax.el.MethodExpression methodExpressionOneArg,
                                           javax.el.MethodExpression methodExpressionZeroArg)
Method Detail

processValueChange

public void processValueChange(ValueChangeEvent event)
                        throws AbortProcessingException
Specified by:
processValueChange in interface ValueChangeListener
Throws:
AbortProcessingException

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder


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