org.apache.struts2.sitemesh
Class FreemarkerMapper2DecoratorSelector

java.lang.Object
  extended by org.apache.struts2.sitemesh.FreemarkerMapper2DecoratorSelector
All Implemented Interfaces:
com.opensymphony.sitemesh.DecoratorSelector

public class FreemarkerMapper2DecoratorSelector
extends java.lang.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
FreemarkerMapper2DecoratorSelector(com.opensymphony.module.sitemesh.DecoratorMapper decoratorMapper)
           
 
Method Summary
 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-2011 Apache Software Foundation. All Rights Reserved.