Package org.apache.turbine.services.template.mapper
The various mappers used by the Template service.
$Id$
$Id$
-
Interface Summary Interface Description Mapper To separate out the various map and search policies for class names and template names, we use classes that implement this interface. -
Class Summary Class Description BaseMapper A base class for the various mappers which contains common code.BaseTemplateMapper This is a mapper like the BaseMapper but it returns its results with the extension of the template names passed or (if no extension is passed), the default extension.ClassMapper This mapper tries to map Template names to class names.DirectMapper The most primitive mapper.DirectTemplateMapper The most primitive templating mapper.LayoutTemplateMapper This mapper is responsible for the lookup of templates for the Layout It tries to look in various packages for a match: 1. about,directions,Driving.vm <- exact match 2. about,directions,Default.vm <- package match, Default name 3. about,Default.vm <- stepping up in the hierarchy 4.ScreenDefaultTemplateMapper This is a pretty simple mapper which returns template pathes for a supplied template name.ScreenTemplateMapper This is a pretty simple mapper which returns template pathes for a supplied template name.