info.magnolia.rendering.template.registry
Class ConfiguredTemplateDefinitionProvider
java.lang.Object
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$
ConfiguredTemplateDefinitionProvider
public ConfiguredTemplateDefinitionProvider(String id,
javax.jcr.Node configNode)
throws Node2BeanException,
javax.jcr.RepositoryException
- Throws:
Node2BeanException
javax.jcr.RepositoryException
getId
public String getId()
- Specified by:
getId
in interface TemplateDefinitionProvider
getTemplateDefinition
public TemplateDefinition getTemplateDefinition()
throws RegistrationException
- Specified by:
getTemplateDefinition
in interface TemplateDefinitionProvider
- Throws:
RegistrationException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.