1 package org.cacert.gigi.output.template;
3 import java.io.PrintWriter;
4 import java.util.HashMap;
7 import org.cacert.gigi.localisation.Language;
9 public class Scope implements Outputable {
11 private Map<String, Object> vars;
13 private Outputable out;
15 public Scope(Outputable out, Map<String, Object> vars) {
21 public void output(PrintWriter out, Language l, Map<String, Object> vars) {
22 HashMap<String, Object> map = new HashMap<>();
24 map.putAll(this.vars);
25 this.out.output(out, l, map);