com.hammurapi.render
Interface WriterRenderer

All Known Implementing Classes:
JxpRenderer

public interface WriterRenderer

Renders to a writer.

Author:
Pavel Vlasov

Method Summary
 boolean render(java.io.Writer out, java.util.Map<java.lang.String,java.lang.Object> environment, Context context, java.lang.String profile, java.util.Locale locale, java.io.File outputDir)
          Renders to a writer.
 

Method Detail

render

boolean render(java.io.Writer out,
               java.util.Map<java.lang.String,java.lang.Object> environment,
               Context context,
               java.lang.String profile,
               java.util.Locale locale,
               java.io.File outputDir)
               throws RenderingException
Renders to a writer.

Parameters:
out - Output writer.
environment - Environment.
context - Context
profile - Rendering "profile", e.g. "outline", "embedded". Can be null.
locale - Locale. If null then the system default locale is used.
outputDir - Directory to output additional files, can be null.
Returns:
True if rendering was successful.
Throws:
RenderingException