info.magnolia.rendering.template.registry
Class ConfiguredTemplateDefinitionProvider

java.lang.Object
  extended by info.magnolia.rendering.template.registry.ConfiguredTemplateDefinitionProvider
All Implemented Interfaces:
TemplateDefinitionProvider

public class ConfiguredTemplateDefinitionProvider
extends Object
implements TemplateDefinitionProvider

TemplateDefinitionProvider that instantiates a template from a configuration node.

Version:
$Id$

Constructor Summary
ConfiguredTemplateDefinitionProvider(String id, javax.jcr.Node configNode)
           
 
Method Summary
 String getId()
           
 TemplateDefinition getTemplateDefinition()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfiguredTemplateDefinitionProvider

public ConfiguredTemplateDefinitionProvider(String id,
                                            javax.jcr.Node configNode)
                                     throws info.magnolia.content2bean.Content2BeanException
Throws:
info.magnolia.content2bean.Content2BeanException
Method Detail

getId

public String getId()
Specified by:
getId in interface TemplateDefinitionProvider

getTemplateDefinition

public TemplateDefinition getTemplateDefinition()
                                         throws info.magnolia.registry.RegistrationException
Specified by:
getTemplateDefinition in interface TemplateDefinitionProvider
Throws:
info.magnolia.registry.RegistrationException

toString

public String toString()
Overrides:
toString in class Object


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