Process a set of data for the report. This method can be called multiple times - but only once for each datasource. This method can only be called by objects create with ProcessReport(template) or ProcessReport(template, report). Do not pass in buffered streams if you have the option. ProcessReport wraps all streams in buffers, generally BufferedReader and BufferedWriter.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Report
Dim data As IReportDataSource
Dim datasource As String
instance.ProcessData(data, datasource) |
Parameters
- data
- The data that will be placed into the report where there are tags.
- datasource
- The name of the datasource to process. Only tags with this datasource will be processed. A value of "" is legitimate and signifies the default datasource.
Exceptions
Exception | Description |
net.windward.tags.TagException | thrown if there is an unmatched if/while - end. Not thrown in debug mode. |
net.windward.xmlreport.AlreadyProcessedException | thrown if call process multiple times on an object. |
net.windward.env.DataSourceException | thrown if there is a problem with the datasource. |
java.io.IOException | thrown if have problems accessing the xml, template, or report streams |
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family
See Also