X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Foutput%2Ftemplate%2FIterableDataset.java;h=8c96727b48f2459067bebb840d45fab56979ff61;hb=449f75a2b5d97ebf34bec2df715b71aa7e31afb0;hp=bd7b99b25b3d5cf9a975b7e92e924dfac18e11eb;hpb=aade4c55a068d4b8211d67754cb6060e6c7a42b0;p=gigi.git
diff --git a/src/org/cacert/gigi/output/template/IterableDataset.java b/src/org/cacert/gigi/output/template/IterableDataset.java
index bd7b99b2..8c96727b 100644
--- a/src/org/cacert/gigi/output/template/IterableDataset.java
+++ b/src/org/cacert/gigi/output/template/IterableDataset.java
@@ -2,22 +2,24 @@ package org.cacert.gigi.output.template;
import java.util.Map;
-import org.cacert.gigi.Language;
+import org.cacert.gigi.localisation.Language;
/**
- * Represents some kind of data, that may be iterated over in a template.
+ * Represents some kind of data, that may be iterated over in a template using
+ * the foreach
statement.
*/
public interface IterableDataset {
- /**
- * 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);
+
+ /**
+ * 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);
}