Uses of Class
io.jstach.opt.dropwizard.example.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
Modifier and TypeMethodDescriptionstatic ExampleModelRenderer
ExampleModelRenderer.of()
Convience static factory that will reuse the same singleton instance.Modifier 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.