Uses of Class
io.jstach.opt.dropwizard.example.ExampleModelRenderer
Packages that use ExampleModelRenderer
Package
Description
We statically configure all annotated JStache in this package to follow the builtin
dropwizard config.
-
Uses of ExampleModelRenderer in io.jstach.opt.dropwizard.example
Methods in io.jstach.opt.dropwizard.example that return ExampleModelRendererModifier and TypeMethodDescriptionstatic ExampleModelRendererExampleModelRenderer.of()Convience static factory that will reuse the same singleton instance.Methods in io.jstach.opt.dropwizard.example with parameters of type ExampleModelRendererModifier and TypeMethodDescriptionprotected static <A extends Output.EncodedOutput<E>,E extends Exception>
voidExampleModelRenderer.encode(ExampleModelRenderer template, ExampleModel data, ContextNode context, A unescapedWriter, Formatter formatter, Escaper escaper, Appender appender) Renders to an OutputStream use pre-encoded parts of the template.ExampleModelRenderer.render(ExampleModelRenderer template, ExampleModel data, ContextNode context, A unescapedWriter, Formatter formatter, Appender escaper, Appender appender) Renders the passed in model.