java.lang.Object
io.jstach.opt.spring.example.hello.HelloModelView
All Implemented Interfaces:
Renderer<io.jstach.opt.spring.example.hello.HelloModel>, JStachioFilter.FilterChain, TemplateProvider, Template<io.jstach.opt.spring.example.hello.HelloModel>, TemplateInfo

@Component public class HelloModelView extends Object implements Template<io.jstach.opt.spring.example.hello.HelloModel>, TemplateInfo, TemplateProvider, JStachioFilter.FilterChain
Generated Renderer.
  • Constructor Details

    • HelloModelView

      public HelloModelView(Function<Object,String> formatter, Function<String,String> escaper)
      Renderer constructor for manual wiring.
      Parameters:
      formatter - formatter if null the static formatter will be used.
      escaper - escaper if null the static escaper will be used
    • HelloModelView

      public HelloModelView()
      Renderer constructor for reflection (use of() instead). For programmatic consider using of() for a shared singleton.
    • HelloModelView

      public HelloModelView(TemplateConfig templateConfig)
      Renderer constructor using config.
      Parameters:
      templateConfig - config that has collaborators
  • Method Details