Class Renderer


  • public abstract class Renderer
    extends Object
    The Template renderer provides ways to render an encapsulated Template instance.
    • Constructor Detail

      • Renderer

        public Renderer()
    • Method Detail

      • render

        public String render()
        Render the template.
        Returns:
        the template output
      • render

        public abstract void render​(Writer out)
                             throws IOException
        Render the template.
        Parameters:
        out - the writer instance to write the output
        Throws:
        IOException - if writer throws any IOException