Package org.apache.turbine.services.template.mapper


package org.apache.turbine.services.template.mapper
The various mappers used by the Template service.
  • Klasse
    Beschreibung
    A base class for the various mappers which contains common code.
    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.
    This mapper tries to map Template names to class names.
    The most primitive mapper.
    The most primitive templating mapper.
    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.
    To separate out the various map and search policies for class names and template names, we use classes that implement this interface.
    This is a pretty simple mapper which returns template pathes for a supplied template name.
    This is a pretty simple mapper which returns template pathes for a supplied template name.