info.magnolia.module.templating
Class TemplateRendererManager
java.lang.Object
info.magnolia.cms.beans.config.ObservedManager
info.magnolia.module.templating.TemplateRendererManager
@Singleton
public class TemplateRendererManager
- extends ObservedManager
Manages the template renderers of the system.
- Version:
- $Revision: 46918 $ ($Author: tmattsson $)
- Author:
- fgiust
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateRendererManager
public TemplateRendererManager()
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 everthing. If needed the nodes will get registered.
- Specified by:
onClear
in class ObservedManager
- See Also:
ObservedManager.onClear()
registerTemplateRenderer
public void registerTemplateRenderer(String type,
TemplateRenderer instance)
getRenderer
public TemplateRenderer getRenderer(String type)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.