info.magnolia.module.templating
Class ParagraphRendererManager

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

@Singleton
public class ParagraphRendererManager
extends info.magnolia.cms.beans.config.ObservedManager

Manages the paragraph renderers on the system. Modules can register the nodes where the paragraph renderers are defined.

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

Field Summary
 
Fields inherited from class info.magnolia.cms.beans.config.ObservedManager
log, registeredUUIDs
 
Constructor Summary
ParagraphRendererManager()
           
 
Method Summary
static ParagraphRendererManager getInstance()
           
 ParagraphRenderer getRenderer(String name)
           
 Map getRenderers()
           
protected  void onClear()
           
protected  void onRegister(info.magnolia.cms.core.Content node)
           
protected  void registererParagraphRenderer(String name, ParagraphRenderer renderer)
           
 
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

ParagraphRendererManager

public ParagraphRendererManager()
Method Detail

getInstance

public static ParagraphRendererManager getInstance()

getRenderer

public ParagraphRenderer getRenderer(String name)

getRenderers

public Map getRenderers()

onRegister

protected void onRegister(info.magnolia.cms.core.Content node)
Specified by:
onRegister in class info.magnolia.cms.beans.config.ObservedManager

registererParagraphRenderer

protected void registererParagraphRenderer(String name,
                                           ParagraphRenderer renderer)

onClear

protected void onClear()
Specified by:
onClear in class info.magnolia.cms.beans.config.ObservedManager


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