Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.turbine.services.template.mapper: Javadoc index of package org.apache.turbine.services.template.mapper.


Package Samples:

org.apache.turbine.services.template.mapper: Template Service maps template references to a view service and a template name.  

Classes:

ClassMapper: This mapper tries to map Template names to class names. If no direct match is found, it tries matches "upwards" in the package hierarchy until either a match is found or the root is hit. Then it returns the name of the default class from the TemplateEngineService. 1. about.directions.Driving <- direct matching the template to the class name 2. about.directions.Default <- matching the package, class name is Default 3. about.Default <- stepping up in the package hierarchy, looking for Default 4. Default <- Class called "Default" without package 5. VelocityScreen <- The class configured ...
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. Default.vm <- The name configured as default.layout.template in the corresponding Templating Engine
ScreenDefaultTemplateMapper: This is a pretty simple mapper which returns template pathes for a supplied template name. If the path does not exist, it looks for a templated called "Default" in the same package. This path can be used by the TemplateEngine to access a certain resource to actually render the template.
ScreenTemplateMapper: This is a pretty simple mapper which returns template pathes for a supplied template name. This path can be used by the TemplateEngine to access a certain resource to actually render the template.
DirectTemplateMapper: 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.
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.
DirectMapper: The most primitive mapper. It is used for the page objects in the Template service. It never caches and simply returns what is given to it.
Mapper: To separate out the various map and search policies for class names and template names, we use classes that implement this interface.
BaseMapper: A base class for the various mappers which contains common code.

Home | Contact Us | Privacy Policy | Terms of Service