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.


Constructor Summary
RendererRegistry()
           
 
Method Summary
 List<Class<RenderingListener>> getListeners()
           
 Renderer getRenderer(String type)
           
 void register(RendererProvider rendererProvider)
           
 void registerListener(String listenerClassName)
           
 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)

registerListener

public void registerListener(String listenerClassName)

getListeners

public List<Class<RenderingListener>> getListeners()


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.