info.magnolia.rendering.template.registry
Class ConfiguredTemplateDefinitionProvider
java.lang.Object
info.magnolia.rendering.template.registry.ConfiguredTemplateDefinitionProvider
- All Implemented Interfaces:
- info.magnolia.registry.Provider<TemplateDefinition>, TemplateDefinitionProvider
public class ConfiguredTemplateDefinitionProvider
- extends Object
- implements TemplateDefinitionProvider
TemplateDefinitionProvider that instantiates a template from a configuration node.
- Version:
- $Id$
ConfiguredTemplateDefinitionProvider
public ConfiguredTemplateDefinitionProvider(String id,
javax.jcr.Node configNode)
throws info.magnolia.content2bean.Content2BeanException
- Throws:
info.magnolia.content2bean.Content2BeanException
getId
public String getId()
- Specified by:
getId
in interface info.magnolia.registry.Provider<TemplateDefinition>
getDefinition
public TemplateDefinition getDefinition()
throws info.magnolia.registry.RegistrationException
- Specified by:
getDefinition
in interface info.magnolia.registry.Provider<TemplateDefinition>
- Throws:
info.magnolia.registry.RegistrationException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.