X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Foutput%2Ftemplate%2FIterableDataset.java;h=e95dce8f07a4eff86c4319e4e5619e822af4fd46;hb=480cb29387c76ccc19f8fa8fb0abe8ae1b069730;hp=d908fccc59f1ffcdf4245e68d22c8df72222edf2;hpb=ca82909d6bb910769eb756058d51d55e6d257914;p=gigi.git diff --git a/src/org/cacert/gigi/output/template/IterableDataset.java b/src/org/cacert/gigi/output/template/IterableDataset.java index d908fccc..e95dce8f 100644 --- a/src/org/cacert/gigi/output/template/IterableDataset.java +++ b/src/org/cacert/gigi/output/template/IterableDataset.java @@ -2,18 +2,23 @@ package org.cacert.gigi.output.template; import java.util.Map; +import org.cacert.gigi.localisation.Language; + /** * Represents some kind of data, that may be iterated over in a template. */ public interface IterableDataset { - /** - * Moves to the next Dataset. - * - * @param vars - * the variables used in this template. They need to be updated - * for each line. - * @return true, iff there was a data-line "installed". False of this set is - * already empty. - */ - public boolean next(Map vars); + + /** + * Moves to the next Dataset. + * + * @param l + * the language for l10n-ed strings + * @param vars + * the variables used in this template. They need to be updated + * for each line. + * @return true, iff there was a data-line "installed". False of this set is + * already empty. + */ + public boolean next(Language l, Map vars); }