info.magnolia.module.templating
Class TemplateRendererManager

java.lang.Object
  extended by info.magnolia.cms.beans.config.ObservedManager
      extended by info.magnolia.module.templating.TemplateRendererManager

public class TemplateRendererManager
extends ObservedManager

Manages the template renderers of the system.

Version:
$Revision: 41137 $ ($Author: gjoseph $)
Author:
fgiust

Field Summary
 
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager
log, registeredUUIDs
 
Constructor Summary
TemplateRendererManager()
           
 
Method Summary
static TemplateRendererManager getInstance()
           
 TemplateRenderer getRenderer(java.lang.String type)
           
protected  void onClear()
          The implementor should clear everything.
protected  void onRegister(Content node)
          Registers a node.
 void registerTemplateRenderer(java.lang.String type, TemplateRenderer instance)
           
 
Methods inherited from class info.magnolia.cms.beans.config.ObservedManager
clear, register, reload, reload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateRendererManager

public TemplateRendererManager()
Method Detail

getInstance

public static TemplateRendererManager getInstance()
Returns:
Returns the instance.

onRegister

protected void onRegister(Content node)
Description copied from class: ObservedManager
Registers a node.

Specified by:
onRegister in class ObservedManager
See Also:
ObservedManager.onRegister(info.magnolia.cms.core.Content)

onClear

protected void onClear()
Description copied from class: ObservedManager
The implementor should clear everything. If needed the nodes will get registered.

Specified by:
onClear in class ObservedManager
See Also:
ObservedManager.onClear()

registerTemplateRenderer

public void registerTemplateRenderer(java.lang.String type,
                                     TemplateRenderer instance)

getRenderer

public TemplateRenderer getRenderer(java.lang.String type)


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.