public interface RockerRenderer extends Renderer<com.fizzed.rocker.RockerModel>
Rocker works by compiling templates into Java classes that extends RockerModel
.
Compiling the templates is a build time concern and not handled by this runtime library.
Please consult Rocker's documentation regarding build tool plugins for Rocker.
To render a Rocker template, simply create an instance of the corresponding RockerModel
class
and pass to Context.render(Object)
.
Modifier and Type | Method and Description |
---|---|
static Renderer<com.fizzed.rocker.RockerModel> |
create()
Creates a
Renderer or RockerModel objects. |