org.apache.struts2.sitemesh

## Class NoneDecoratorMapper

- java.lang.Object
- - com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
  - - org.apache.struts2.sitemesh.NoneDecoratorMapper

- All Implemented Interfaces:
    com.opensymphony.module.sitemesh.DecoratorMapper

      public class NoneDecoratorMapper
      extends com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper

  Won't decorate the output if it finds a "decorator" flag in the request

- - ### Field Summary

    - ### Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper

      `config, parent`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NoneDecoratorMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.opensymphony.module.sitemesh.Decorator` | `getDecorator(javax.servlet.http.HttpServletRequest req, com.opensymphony.module.sitemesh.Page page)`

    - ### Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper

      `getNamedDecorator, init`

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

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

- - ### Constructor Detail

    - #### NoneDecoratorMapper

          public NoneDecoratorMapper()

  - ### Method Detail

    - #### getDecorator

          public com.opensymphony.module.sitemesh.Decorator getDecorator(javax.servlet.http.HttpServletRequest req,
                                                                         com.opensymphony.module.sitemesh.Page page)

      Specified by:
        `getDecorator` in interface `com.opensymphony.module.sitemesh.DecoratorMapper`
      Overrides:
        `getDecorator` in class `com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper`

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