Class ScreenTemplateMapper

  • All Implemented Interfaces:
    Mapper

    public class ScreenTemplateMapper
    extends BaseTemplateMapper
    implements Mapper
    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.
    Version:
    $Id: ScreenTemplateMapper.java 1844792 2018-10-24 21:47:54Z painter $
    Author:
    Henning P. Schmiedehausen
    • Constructor Detail

      • ScreenTemplateMapper

        public ScreenTemplateMapper()
        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.
    • Method Detail

      • doMapping

        public String doMapping​(String template)
        Check, whether the provided name exists. Returns null if the screen does not exist.
        Specified by:
        doMapping in class BaseMapper
        Parameters:
        template - The template name.
        Returns:
        The matching screen name.