Windward Engine API Reference
ProcessData(IDictionary<String,IReportDataSource>) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class > ProcessData Method : ProcessData(IDictionary<String,IReportDataSource>) Method




dataProviders
The list of data source providers. Each element maps the provider name to its actual implementation (an instance of IReportDataSource). The providers is the data that will be placed into the report where there are tags. Only tags with these datasources will be processed. A value of "" is legitimate and signifies the default datasource.

Glossary Item Box

Process multiple sets 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 (Declaration) 
Public Overloads Sub ProcessData( _
   ByVal dataProviders As IDictionary(Of String,IReportDataSource) _
) 
Visual Basic (Usage)Copy Code
Dim instance As Report
Dim dataProviders As IDictionary(Of String,IReportDataSource)
 
instance.ProcessData(dataProviders)
C# 
public void ProcessData( 
   IDictionary<string,IReportDataSource> dataProviders
)
Managed Extensions for C++ 
public: void ProcessData( 
   IDictionary<string*,IReportDataSource*>* dataProviders
) 
C++/CLI 
public:
void ProcessData( 
   IDictionary<String^,IReportDataSource^>^ dataProviders
) 

Parameters

dataProviders
The list of data source providers. Each element maps the provider name to its actual implementation (an instance of IReportDataSource). The providers is the data that will be placed into the report where there are tags. Only tags with these datasources will be processed. A value of "" is legitimate and signifies the default datasource.

Exceptions

ExceptionDescription
net.windward.tags.TagExceptionthrown if there is an unmatched if/while - end. Not thrown in debug mode.
net.windward.xmlreport.AlreadyProcessedExceptionthrown if call process multiple times on an object.
net.windward.env.DataSourceExceptionthrown if there is a problem with the datasource.
java.io.IOExceptionthrown 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

© 2019 All Rights Reserved.