org.apache.myfaces.trinidad.change
Class NullChangeManager

java.lang.Object
  extended by org.apache.myfaces.trinidad.change.ChangeManager
      extended by org.apache.myfaces.trinidad.change.NullChangeManager

public class NullChangeManager
extends ChangeManager

An ChangeManager implementation that is all a no-op.


Constructor Summary
NullChangeManager()
           
 
Method Summary
 void addComponentChange(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, ComponentChange change)
          Add a ComponentChange to this current request for a specified component.
 java.util.Iterator<ComponentChange> getComponentChanges(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
          Retrieve the ComponentChanges available for specified component on this request.
 java.util.Iterator<java.lang.String> getComponentIdsWithChanges(javax.faces.context.FacesContext facesContext)
          Retrieve the identifiers of all components on this request that have Changes associated with them for the viewId specified in the facesContext.
 
Methods inherited from class org.apache.myfaces.trinidad.change.ChangeManager
addDocumentChange, createDocumentChange, registerDocumentFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullChangeManager

public NullChangeManager()
Method Detail

addComponentChange

public void addComponentChange(javax.faces.context.FacesContext facesContext,
                               javax.faces.component.UIComponent uiComponent,
                               ComponentChange change)
Add a ComponentChange to this current request for a specified component.

Specified by:
addComponentChange in class ChangeManager

getComponentChanges

public java.util.Iterator<ComponentChange> getComponentChanges(javax.faces.context.FacesContext facesContext,
                                                               javax.faces.component.UIComponent uiComponent)
Retrieve the ComponentChanges available for specified component on this request.

Specified by:
getComponentChanges in class ChangeManager
Returns:
An Iterator of ComponentChanges in the order in which they are associated with the UIComponent. Returns null if there are no such Changes

getComponentIdsWithChanges

public java.util.Iterator<java.lang.String> getComponentIdsWithChanges(javax.faces.context.FacesContext facesContext)
Retrieve the identifiers of all components on this request that have Changes associated with them for the viewId specified in the facesContext.

Specified by:
getComponentIdsWithChanges in class ChangeManager
Returns:
An Iterator that can be used to access the collection of component identifiers. Returns null if there are no such components.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.