com.opensymphony.module.sitemesh.mapper
Class FileDecoratorMapper

java.lang.Object
  extended by com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
      extended by 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.1 $
Author:
Joe Walnes, Mike Cannon-Brookes
See Also:
DecoratorMapper, DefaultDecorator

Field Summary
private static boolean pathNotAvailable
           
 
Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
config, parent
 
Constructor Summary
FileDecoratorMapper()
           
 
Method Summary
 Decorator getNamedDecorator(HttpServletRequest req, String name)
          Delegate to parent.
 
Methods inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
getDecorator, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathNotAvailable

private static boolean pathNotAvailable
Constructor Detail

FileDecoratorMapper

public FileDecoratorMapper()
Method Detail

getNamedDecorator

public Decorator getNamedDecorator(HttpServletRequest req,
                                   String name)
Description copied from class: AbstractDecoratorMapper
Delegate to parent.

Specified by:
getNamedDecorator in interface DecoratorMapper
Overrides:
getNamedDecorator in class AbstractDecoratorMapper

www.opensymphony.com/sitemesh/