Class BaseTemplateMapper

    • Field Detail

      • prefix

        protected String prefix
        A prefix which is used to separate the various template types (screen, layouts, navigation)
    • Constructor Detail

      • BaseTemplateMapper

        public BaseTemplateMapper()
        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

      • getPrefix

        public String getPrefix()
        Get the Prefix value.
        Returns:
        the Prefix value.
      • setPrefix

        public void setPrefix​(String prefix)
        Set the Prefix value.
        Parameters:
        prefix - The new Prefix value.
      • getDefaultName

        public String getDefaultName​(String template)
        Returns the default name for the passed Template. If the template has no extension, the default extension is added. If the template is empty, the default template is returned.
        Overrides:
        getDefaultName in class BaseMapper
        Parameters:
        template - The template name.
        Returns:
        the mapped default name for the template.