Klasse DirectTemplateMapper

Alle implementierten Schnittstellen:
Mapper

public class DirectTemplateMapper extends BaseTemplateMapper implements Mapper
The most primitive templating mapper. It is used for the navigation template objects. It never caches and simply returns what is given to it but keeps the template extension.
Version:
$Id$
Autor:
Henning P. Schmiedehausen
  • Konstruktordetails

    • DirectTemplateMapper

      Default C'tor. If you use this C'tor, you must use the bean setter to set the various properties needed for this mapper before first usage.
  • Methodendetails

    • doMapping

      public String doMapping(String template)
      Replace all "," with ".", but keep the extension. about,directions,Driving.vm --> about/directions/Driving.vm
      Angegeben von:
      doMapping in Klasse BaseMapper
      Parameter:
      template - The template name.
      Gibt zurück:
      A class name for the given template.