Class FileDecoratorMapper
- java.lang.Object
-
- com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
-
- com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper
-
- All Implemented Interfaces:
DecoratorMapper
public class FileDecoratorMapper extends AbstractDecoratorMapper
The FileDecoratorMapper will treat the name of the decorator as a file-name to use (in the context of the web-app).- Version:
- $Revision: 1.3 $
- Author:
- Joe Walnes, Mike Cannon-Brookes
- See Also:
DecoratorMapper,DefaultDecorator
-
-
Field Summary
Fields Modifier and Type Field Description private booleanpathNotAvailable-
Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
config, parent
-
-
Constructor Summary
Constructors Constructor Description FileDecoratorMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DecoratorgetNamedDecorator(javax.servlet.http.HttpServletRequest req, String name)Delegate to parent.-
Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
getDecorator, init
-
-
-
-
Method Detail
-
getNamedDecorator
public Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest req, String name)
Description copied from class:AbstractDecoratorMapperDelegate to parent.- Specified by:
getNamedDecoratorin interfaceDecoratorMapper- Overrides:
getNamedDecoratorin classAbstractDecoratorMapper
-
-