info.magnolia.rendering.renderer.registry
Class ConfiguredRendererProvider

java.lang.Object
  extended by info.magnolia.rendering.renderer.registry.ConfiguredRendererProvider
All Implemented Interfaces:
RendererProvider

public class ConfiguredRendererProvider
extends Object
implements RendererProvider

RendererProvider that instantiates a renderer from a configuration node.

Version:
$Id$

Constructor Summary
ConfiguredRendererProvider(String type, javax.jcr.Node configNode)
           
 
Method Summary
 Renderer getRenderer()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfiguredRendererProvider

public ConfiguredRendererProvider(String type,
                                  javax.jcr.Node configNode)
                           throws Content2BeanException
Throws:
Content2BeanException
Method Detail

getType

public String getType()
Specified by:
getType in interface RendererProvider

getRenderer

public Renderer getRenderer()
                     throws RegistrationException
Specified by:
getRenderer in interface RendererProvider
Throws:
RegistrationException

toString

public String toString()
Overrides:
toString in class Object


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