info.magnolia.rendering.template.assignment
Class MetaDataBasedTemplateDefinitionAssignment
java.lang.Object
info.magnolia.rendering.template.assignment.MetaDataBasedTemplateDefinitionAssignment
- All Implemented Interfaces:
- TemplateDefinitionAssignment
@Singleton
public class MetaDataBasedTemplateDefinitionAssignment
- extends Object
- implements TemplateDefinitionAssignment
Uses the template id stored in the node's meta data.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaDataBasedTemplateDefinitionAssignment
@Inject
public MetaDataBasedTemplateDefinitionAssignment(TemplateDefinitionRegistry templateDefinitionRegistry)
getAssignedTemplateDefinition
public TemplateDefinition getAssignedTemplateDefinition(javax.jcr.Node content)
throws info.magnolia.registry.RegistrationException
- Specified by:
getAssignedTemplateDefinition
in interface TemplateDefinitionAssignment
- Throws:
info.magnolia.registry.RegistrationException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.