org.apache.struts2.sitemesh

## Class FreemarkerMapper2DecoratorSelector

- java.lang.Object
- - org.apache.struts2.sitemesh.FreemarkerMapper2DecoratorSelector

- All Implemented Interfaces:
    com.opensymphony.sitemesh.DecoratorSelector

      public class FreemarkerMapper2DecoratorSelector
      extends Object
      implements com.opensymphony.sitemesh.DecoratorSelector

  Returns a `OldDecorator2NewStrutsFreemarkerDecorator` decorator for a Freemarker request. Won't decorate the output if it finds a "decorator" flag in the request

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FreemarkerMapper2DecoratorSelector(com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.opensymphony.sitemesh.Decorator` | `selectDecorator(com.opensymphony.sitemesh.Content content, com.opensymphony.sitemesh.SiteMeshContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FreemarkerMapper2DecoratorSelector

          public FreemarkerMapper2DecoratorSelector(com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)

  - ### Method Detail

    - #### selectDecorator

          public com.opensymphony.sitemesh.Decorator selectDecorator(com.opensymphony.sitemesh.Content content,
                                                                     com.opensymphony.sitemesh.SiteMeshContext context)

      Specified by:
        `selectDecorator` in interface `com.opensymphony.sitemesh.DecoratorSelector`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.