- Type Parameters:
T
- model type
- All Superinterfaces:
Renderer<T>
,Template<T>
,TemplateInfo
- All Known Implementing Classes:
ExampleModelRenderer
A mixin for generated templates to create dropwizard views.
- Author:
- agentgt
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jstach.jstachio.Template
Template.EncodedTemplate<T>
Nested classes/interfaces inherited from interface io.jstach.jstachio.TemplateInfo
TemplateInfo.TemplateSource
-
Method Summary
Methods inherited from interface io.jstach.jstachio.TemplateInfo
description, lastLoaded, modelClass, normalizePath, supportsType, templateCharset, templateContentType, templateEscaper, templateFormatter, templateMediaType, templateName, templatePath, templateSource, templateString
-
Method Details
-
view
Creates a dropwizard view from the model and this template. JStachio will not need to lookup the template that corresponds to the model.- Parameters:
model
- model that the template can render- Returns:
- dropwizard view
-