info.magnolia.rendering.template.variation
Class NoopVariationResolver

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

public class NoopVariationResolver
extends Object
implements RenderableVariationResolver

Variation resolver that ignores any variations, effectively turning the feature off.

Version:
$Id$

Constructor Summary
NoopVariationResolver()
           
 
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

NoopVariationResolver

public NoopVariationResolver()
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–2014 Magnolia International Ltd.. All rights reserved.