info.magnolia.rendering.template.variation
Class DefaultRenderableVariationResolver
java.lang.Object
info.magnolia.rendering.template.variation.DefaultRenderableVariationResolver
- All Implemented Interfaces:
- RenderableVariationResolver
public class DefaultRenderableVariationResolver
- extends Object
- implements RenderableVariationResolver
Resolver that will combinate channel and extension variation resolver.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRenderableVariationResolver
public DefaultRenderableVariationResolver()
resolveVariation
public RenderableDefinition resolveVariation(RenderableDefinition renderableDefinition)
- Description copied from interface:
RenderableVariationResolver
- Returns the variation to use or null.
- Specified by:
resolveVariation
in interface RenderableVariationResolver
getAggregationStateSafely
protected info.magnolia.cms.core.AggregationState getAggregationStateSafely()
- This gets the aggregation state without throwing an exception if the current context is not a WebContext.
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.