Class DecoratorMapper2DecoratorSelector
- java.lang.Object
-
- com.opensymphony.sitemesh.compatability.DecoratorMapper2DecoratorSelector
-
- All Implemented Interfaces:
DecoratorSelector
public class DecoratorMapper2DecoratorSelector extends Object implements DecoratorSelector
Adapts a SiteMesh 2DecoratorMapper
to a SiteMesh 2DecoratorSelector
.- Since:
- SiteMesh 3
- Author:
- Joe Walnes
-
-
Field Summary
Fields Modifier and Type Field Description private DecoratorMapper
decoratorMapper
-
Constructor Summary
Constructors Constructor Description DecoratorMapper2DecoratorSelector(DecoratorMapper decoratorMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decorator
selectDecorator(Content content, SiteMeshContext context)
-
-
-
Field Detail
-
decoratorMapper
private final DecoratorMapper decoratorMapper
-
-
Constructor Detail
-
DecoratorMapper2DecoratorSelector
public DecoratorMapper2DecoratorSelector(DecoratorMapper decoratorMapper)
-
-
Method Detail
-
selectDecorator
public Decorator selectDecorator(Content content, SiteMeshContext context)
- Specified by:
selectDecorator
in interfaceDecoratorSelector
-
-