KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > calipso > reportgenerator > reportmanager > StaticReportDataIterator


1 package com.calipso.reportgenerator.reportmanager;
2
3 import com.calipso.reportgenerator.reportcalculator.DataTreeIterator;
4
5 import java.util.Collection JavaDoc;
6
7 /**
8  * Iterador para los reportes estáticos
9  */

10 public class StaticReportDataIterator extends ReportDataIterator {
11   private DataTreeIterator staticDataIterator;
12
13   public StaticReportDataIterator(DataTreeIterator staticDataIterator) {
14     this.staticDataIterator = staticDataIterator;
15   }
16
17   public DataTreeIterator getStaticDataIterator() {
18     return staticDataIterator;
19   }
20
21   public void advance() {
22     getStaticDataIterator().advance();
23   }
24
25   public boolean hasNext() {
26     return getStaticDataIterator().hasNext();
27   }
28
29   public Object JavaDoc[] current() {
30     return getStaticDataIterator().current();
31   }
32
33   public Collection JavaDoc currentTotals() {
34     return getStaticDataIterator().currentTotals();
35   }
36
37
38 }
39
Popular Tags