1 package org.cacert.gigi.output.template;
3 import java.io.PrintWriter;
6 import org.cacert.gigi.localisation.Language;
9 * An object that is outputable to the user normally in an HTML-page.
11 public interface Outputable {
13 public static final String OUT_KEY_PLAIN = "output-content-plain";
16 * Writes this object's content to the given output stream.
19 * the PrintWriter to the user.
21 * the {@link Language} to translate localizable strings to.
23 * a map of variable assignments for this template.
25 public void output(PrintWriter out, Language l, Map<String, Object> vars);