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 {
14 * Writes this object's content to the given output stream.
17 * the PrintWriter to the user.
19 * the {@link Language} to translate localizable strings to.
21 * a map of variable assignments for this template.
23 public void output(PrintWriter out, Language l, Map<String, Object> vars);