Interface RockerRenderer

  • All Superinterfaces:
    Renderer<com.fizzed.rocker.RockerModel>

    public interface RockerRenderer
    extends Renderer<com.fizzed.rocker.RockerModel>
    A renderer for Rocker templates.

    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).

    Since:
    1.5
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static Renderer<com.fizzed.rocker.RockerModel> create()
      Creates a Renderer or RockerModel objects.
    • Method Detail

      • create

        static Renderer<com.fizzed.rocker.RockerModel> create()
        Creates a Renderer or RockerModel objects.
        Returns:
        a Renderer or RockerModel objects.