org.jamon
Interface Renderer

All Known Implementing Classes:
AbstractRenderer

public interface Renderer

A simple interface describing that which knows how to render.


Method Summary
 java.lang.String asString()
          Render this Renderer into a String.
 void renderTo(java.io.Writer p_writer)
          Render to the given writer.
 

Method Detail

renderTo

void renderTo(java.io.Writer p_writer)
              throws java.io.IOException
Render to the given writer.

Parameters:
p_writer - the Writer to which to render
Throws:
java.io.IOException - if writing to the Writer throws an IOException

asString

java.lang.String asString()
Render this Renderer into a String.

Returns:
a String that is the result of rendering this Renderer


jamon