Class FileDecoratorMapper
java.lang.Object
com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper
- All Implemented Interfaces:
DecoratorMapper
The FileDecoratorMapper will treat the name of the decorator as a file-name to use (in the context of the web-app).
- Author:
- Joe Walnes, Mike Cannon-Brookes
- See Also:
-
Field Summary
Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
config, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNamedDecorator(javax.servlet.http.HttpServletRequest req, String name) Return aDecoratorwith given name.Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
getDecorator, init
-
Constructor Details
-
FileDecoratorMapper
public FileDecoratorMapper()
-
-
Method Details
-
getNamedDecorator
Description copied from interface:DecoratorMapperReturn aDecoratorwith given name.- Specified by:
getNamedDecoratorin interfaceDecoratorMapper- Overrides:
getNamedDecoratorin classAbstractDecoratorMapper- Parameters:
req- the requestname- the name- Returns:
- the named decorator
-