Package javax.faces.event
Class MethodExpressionValueChangeListener
- java.lang.Object
-
- javax.faces.event.MethodExpressionValueChangeListener
-
- All Implemented Interfaces:
EventListener,StateHolder,FacesListener,ValueChangeListener
public class MethodExpressionValueChangeListener extends Object implements ValueChangeListener, StateHolder
-
-
Constructor Summary
Constructors Constructor Description MethodExpressionValueChangeListener()Creates a new instance of MethodExpressionValueChangeListenerMethodExpressionValueChangeListener(javax.el.MethodExpression methodExpressionOneArg)MethodExpressionValueChangeListener(javax.el.MethodExpression methodExpressionOneArg, javax.el.MethodExpression methodExpressionZeroArg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTransient()voidprocessValueChange(ValueChangeEvent event)voidrestoreState(FacesContext context, Object state)ObjectsaveState(FacesContext context)voidsetTransient(boolean newTransientValue)
-
-
-
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:
processValueChangein interfaceValueChangeListener- Throws:
AbortProcessingException
-
restoreState
public void restoreState(FacesContext context, Object state)
- Specified by:
restoreStatein interfaceStateHolder
-
saveState
public Object saveState(FacesContext context)
- Specified by:
saveStatein interfaceStateHolder
-
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransientin interfaceStateHolder
-
isTransient
public boolean isTransient()
- Specified by:
isTransientin interfaceStateHolder
-
-