org.apache.myfaces.trinidad.change
Class ChangeManagerWrapper

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

public abstract class ChangeManagerWrapper
extends ChangeManager

Base class for ChangeManager implementations that wrap other ChangeManagers.


Constructor Summary
ChangeManagerWrapper()
           
 
Method Summary
 void addComponentChange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, ComponentChange change)
          Delegates the addComponentChange() implementation to the wrapped ChangeManager.
 void addDocumentChange(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, DocumentChange change)
          Delegates the addDocumentChange() implementation to the wrapped ChangeManager.
 void applyComponentChangesForCurrentView(javax.faces.context.FacesContext context)
          Delegates the applyComponentChangesForCurrentView() implementation to the wrapped ChangeManager.
 void applyComponentChangesForSubtree(javax.faces.context.FacesContext context, javax.faces.component.NamingContainer root)
          Delegates the applyComponentChangesForSubtree() implementation to the wrapped ChangeManager.
 void applySimpleComponentChanges(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Delegates the applySimpleComponentChanges() implementation to the wrapped ChangeManager.
protected abstract  ChangeManager getWrappedChangeManager()
          Returns the wrapped ChangeManager.
 
Methods inherited from class org.apache.myfaces.trinidad.change.ChangeManager
createDocumentChange, registerDocumentFactory, replaceAttributeChangeIfPresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeManagerWrapper

public ChangeManagerWrapper()
Method Detail

addComponentChange

public void addComponentChange(javax.faces.context.FacesContext context,
                               javax.faces.component.UIComponent component,
                               ComponentChange change)
Delegates the addComponentChange() implementation to the wrapped ChangeManager.

Specified by:
addComponentChange in class ChangeManager

addDocumentChange

public void addDocumentChange(javax.faces.context.FacesContext context,
                              javax.faces.component.UIComponent component,
                              DocumentChange change)
Delegates the addDocumentChange() implementation to the wrapped ChangeManager.

Overrides:
addDocumentChange in class ChangeManager

applyComponentChangesForCurrentView

public void applyComponentChangesForCurrentView(javax.faces.context.FacesContext context)
Delegates the applyComponentChangesForCurrentView() implementation to the wrapped ChangeManager.

Overrides:
applyComponentChangesForCurrentView in class ChangeManager
Parameters:
context - The FacesContext instance for the current request.

applyComponentChangesForSubtree

public void applyComponentChangesForSubtree(javax.faces.context.FacesContext context,
                                            javax.faces.component.NamingContainer root)
Delegates the applyComponentChangesForSubtree() implementation to the wrapped ChangeManager.

Overrides:
applyComponentChangesForSubtree in class ChangeManager
Parameters:
context - 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)
Delegates the applySimpleComponentChanges() implementation to the wrapped ChangeManager.

Overrides:
applySimpleComponentChanges in class ChangeManager
component - Component to apply the simple changes to

getWrappedChangeManager

protected abstract ChangeManager getWrappedChangeManager()
Returns the wrapped ChangeManager.



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