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
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.opensymphony.module.sitemesh.Decorator
    getDecorator(jakarta.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 Details

    • NoneDecoratorMapper

      public NoneDecoratorMapper()
  • Method Details

    • getDecorator

      public com.opensymphony.module.sitemesh.Decorator getDecorator(jakarta.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