org.apache.myfaces.trinidad.change

## Class NullChangeManager

- java.lang.Object
- - org.apache.myfaces.trinidad.change.ChangeManager
  - - org.apache.myfaces.trinidad.change.NullChangeManager

-     public class NullChangeManager
      extends ChangeManager

  An ChangeManager implementation that is all a no-op.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NullChangeManager()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.
    `void` | `applyComponentChangesForCurrentView(javax.faces.context.FacesContext facesContext)` Applies all the ComponentChanges added so far for the current view.
    `void` | `applyComponentChangesForSubtree(javax.faces.context.FacesContext facesContext, javax.faces.component.NamingContainer root)` Applies the ComponentChanges added so far for components underneath the specified NamingContainer.
    `void` | `applySimpleComponentChanges(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)` Apply non-cross-component changes to a component in its original location.

    - ### 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. When called we will disallow changes if the component or its any ancestor is a stamped component by UIXIterator.
      Specified by:
        `addComponentChange` in class `ChangeManager`

    - #### applyComponentChangesForCurrentView

          public void applyComponentChangesForCurrentView(javax.faces.context.FacesContext facesContext)

      Applies all the ComponentChanges added so far for the current view. Developers should not need to call this method. Internal implementation will call it as the component tree is built and is ready to take changes.
      Overrides:
        `applyComponentChangesForCurrentView` in class `ChangeManager`
      Parameters:
        `facesContext` - The FacesContext instance for the current request.

    - #### applyComponentChangesForSubtree

          public void applyComponentChangesForSubtree(javax.faces.context.FacesContext facesContext,
                                             javax.faces.component.NamingContainer root)

      Applies the ComponentChanges added so far for components underneath the specified NamingContainer. Developers should not need to call this method. Internal implementation will call it as the component tree is built and is ready to take changes.
      Overrides:
        `applyComponentChangesForSubtree` in class `ChangeManager`
      Parameters:
        `facesContext` - The FacesContext instance for the current request.
        `root` - The NamingContainer that contains the component subtree to which ComponentChanges should be applied. If null, all changes are applied.

    - #### applySimpleComponentChanges

          public void applySimpleComponentChanges(javax.faces.context.FacesContext context,
                                         javax.faces.component.UIComponent component)

      Apply non-cross-component changes to a component in its original location. This is typically only called by tags that need to ensure that a newly created component instance is as up-to-date as possible.
      Overrides:
        `applySimpleComponentChanges` in class `ChangeManager`
        `component` - Component to apply the simple changes to

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