01: package com.opensymphony.sitemesh;
02:
03: /**
04: * Selects an appropriate Decorator for the Content.
05: * <p/>
06: * Note: Since SiteMesh 3, this replaces the DecoratorMapper.
07: *
08: * @author Joe Walnes
09: * @since SiteMesh 3
10: */
11: public interface DecoratorSelector {
12:
13: Decorator selectDecorator(Content content, SiteMeshContext context);
14:
15: }
|