info.magnolia.rendering.template.variation
Class TemplateVariationResolver

java.lang.Object
  extended by info.magnolia.rendering.template.variation.TemplateVariationResolver
All Implemented Interfaces:
RenderableVariationResolver

public class TemplateVariationResolver
extends Object
implements RenderableVariationResolver

Variation resolver that will use a variation in case there's one set in the AggregationState.

Version:
$Id$

Constructor Summary
TemplateVariationResolver()
           
 
Method Summary
 RenderableDefinition resolveVariation(RenderableDefinition renderableDefinition)
          Returns the variation to use or null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateVariationResolver

public TemplateVariationResolver()
Method Detail

resolveVariation

public RenderableDefinition resolveVariation(RenderableDefinition renderableDefinition)
Description copied from interface: RenderableVariationResolver
Returns the variation to use or null.

Specified by:
resolveVariation in interface RenderableVariationResolver


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