Class WebfileTemplateLoader

java.lang.Object
com.github.jknack.handlebars.io.AbstractTemplateLoader
org.onehippo.forge.templating.support.handlebars.servlet.WebfileTemplateLoader
All Implemented Interfaces:
com.github.jknack.handlebars.io.TemplateLoader

public class WebfileTemplateLoader extends com.github.jknack.handlebars.io.AbstractTemplateLoader
Hippo CMS' webfile template loader implementation.
  • Field Summary

    Fields inherited from interface com.github.jknack.handlebars.io.TemplateLoader

    DEFAULT_PREFIX, DEFAULT_SUFFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct WebfileTemplateLoader with the suffix.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.jknack.handlebars.io.TemplateSource
    sourceAt(String location)
     

    Methods inherited from class com.github.jknack.handlebars.io.AbstractTemplateLoader

    getCharset, getPrefix, getSuffix, normalize, resolve, setCharset, setPrefix, setSuffix

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebfileTemplateLoader

      public WebfileTemplateLoader(String suffix)
      Construct WebfileTemplateLoader with the suffix.
      Parameters:
      suffix - Suffix that should be appended to the given template path when resolving the webfile's JCR path
  • Method Details