public class MetaTagBasedDecoratorSelector<C extends SiteMeshContext> extends PathBasedDecoratorSelector<C>
DecoratorSelector implementation that selects a decorator based on the
meta tag in the page header
PathMapper| Constructor and Description |
|---|
MetaTagBasedDecoratorSelector() |
| Modifier and Type | Method and Description |
|---|---|
MetaTagBasedDecoratorSelector |
put(String contentPath,
String... decoratorPaths) |
String[] |
selectDecoratorPaths(Content content,
C siteMeshContext)
Implementations should never return null.
|
getPathMapperpublic MetaTagBasedDecoratorSelector put(String contentPath, String... decoratorPaths)
put in class PathBasedDecoratorSelector<C extends SiteMeshContext>public String[] selectDecoratorPaths(Content content, C siteMeshContext) throws IOException
DecoratorSelectorselectDecoratorPaths in interface DecoratorSelector<C extends SiteMeshContext>selectDecoratorPaths in class PathBasedDecoratorSelector<C extends SiteMeshContext>IOExceptionCopyright © 2015. All Rights Reserved.