com.opensymphony.sitemesh.compatability
Class DecoratorMapper2DecoratorSelector

java.lang.Object
  extended by com.opensymphony.sitemesh.compatability.DecoratorMapper2DecoratorSelector
All Implemented Interfaces:
DecoratorSelector

public class DecoratorMapper2DecoratorSelector
extends java.lang.Object
implements DecoratorSelector

Adapts a SiteMesh 2 DecoratorMapper to a SiteMesh 2 DecoratorSelector.

Since:
SiteMesh 3
Author:
Joe Walnes

Field Summary
private  DecoratorMapper decoratorMapper
           
 
Constructor Summary
DecoratorMapper2DecoratorSelector(DecoratorMapper decoratorMapper)
           
 
Method Summary
 Decorator selectDecorator(Content content, SiteMeshContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface DecoratorSelector

www.opensymphony.com/sitemesh/