Package com.sun.faces.context
Class StateContext.NoopAddRemoveListener
- java.lang.Object
-
- com.sun.faces.context.StateContext.NoopAddRemoveListener
-
- All Implemented Interfaces:
FacesListener,SystemEventListener,EventListener
- Direct Known Subclasses:
StateContext.StatelessAddRemoveListener
- Enclosing class:
- StateContext
public class StateContext.NoopAddRemoveListener extends Object
-
-
Constructor Summary
Constructors Constructor Description NoopAddRemoveListener(FacesContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ComponentStruct>getDynamicActions()Get the list of adds/removes.HashMap<String,UIComponent>getDynamicComponents()Get the hash map of dynamic components.protected voidhandleAdd(FacesContext context, UIComponent component)Handle the add.protected voidhandleRemove(FacesContext context, UIComponent component)Handle the remove.
-
-
-
Constructor Detail
-
NoopAddRemoveListener
public NoopAddRemoveListener(FacesContext context)
-
-
Method Detail
-
getDynamicActions
public List<ComponentStruct> getDynamicActions()
Get the list of adds/removes.- Returns:
- the list of adds/removes.
-
getDynamicComponents
public HashMap<String,UIComponent> getDynamicComponents()
Get the hash map of dynamic components.- Returns:
- the hash map of dynamic components.
-
handleRemove
protected void handleRemove(FacesContext context, UIComponent component)
Handle the remove.- Parameters:
context- the Faces context.component- the UI component to add to the list as a REMOVE.
-
handleAdd
protected void handleAdd(FacesContext context, UIComponent component)
Handle the add.- Parameters:
context- the Faces context.component- the UI component to add to the list as an ADD.
-
-