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 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()
          The implementor should clear everthing.
protected  void onRegister(Content node)
          Registers a 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(Content node)
Description copied from class: ObservedManager
Registers a node.

Specified by:
onRegister in class ObservedManager

registererParagraphRenderer

protected void registererParagraphRenderer(String name,
                                           ParagraphRenderer renderer)

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


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