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 info.magnolia.jcr.node2bean.Node2BeanException,
                                  javax.jcr.RepositoryException
Throws:
info.magnolia.jcr.node2bean.Node2BeanException
javax.jcr.RepositoryException
Method Detail

getType

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

getRenderer

public Renderer getRenderer()
                     throws info.magnolia.registry.RegistrationException
Specified by:
getRenderer in interface RendererProvider
Throws:
info.magnolia.registry.RegistrationException

toString

public String toString()
Overrides:
toString in class Object


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