org.apache.struts2.sitemesh
Class NoneDecoratorMapper

java.lang.Object
  extended by com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
      extended by 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
NoneDecoratorMapper()
           
 
Method Summary
 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-2009 Apache Software Foundation. All Rights Reserved.