Package 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 -
Method Summary
Modifier and TypeMethodDescriptioncom.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
-
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 interfacecom.opensymphony.module.sitemesh.DecoratorMapper
- Overrides:
getDecorator
in classcom.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-