de.vc.report.sources

## Class ListDataSource

- java.lang.Object
- - de.vc.report.DataSource
  - - de.vc.report.sources.ListDataSource

-     public class ListDataSource
      extends DataSource

  Implemenation of a data source as a list.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListDataSource()` Creates an empty list data source.
    `ListDataSource(ReportData[] data)` Creates an list data source with some report data.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(ReportData data)` Adds data of a report to this set.
    `protected void` | `deliverData()`
    `protected int` | `getDataCount()`

    - ### Methods inherited from class de.vc.report.DataSource

      `deliver, getLogger`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ListDataSource

          public ListDataSource()

      Creates an empty list data source.

    - #### ListDataSource

          public ListDataSource(ReportData[] data)

      Creates an list data source with some report data.

  - ### Method Detail

    - #### add

          public void add(ReportData data)

      Adds data of a report to this set.
      Parameters:
        `data` - Data of a report.

    - #### deliverData

          protected void deliverData()
                              throws ReportException

      Specified by:
        `deliverData` in class `DataSource`
      Throws:
        `ReportException`

    - #### getDataCount

          protected int getDataCount()

      Overrides:
        `getDataCount` in class `DataSource`

© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.