info.magnolia.rendering.renderer.registry
Class RendererRegistry

java.lang.Object
  extended by info.magnolia.rendering.renderer.registry.RendererRegistry

@Singleton
public class RendererRegistry
extends Object

Central registry of all renderers.

Version:
$Id$

Constructor Summary
RendererRegistry()
           
 
Method Summary
 Renderer getRenderer(String type)
           
 void register(RendererProvider rendererProvider)
           
 void unregister(String type)
           
 Set<String> unregisterAndRegister(Set<String> registeredTypes, List<RendererProvider> providers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererRegistry

public RendererRegistry()
Method Detail

getRenderer

public Renderer getRenderer(String type)
                     throws RegistrationException
Throws:
RegistrationException

register

public void register(RendererProvider rendererProvider)

unregister

public void unregister(String type)

unregisterAndRegister

public Set<String> unregisterAndRegister(Set<String> registeredTypes,
                                         List<RendererProvider> providers)


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