Process the template and get the report ready to process data files. This should only be called once for a given Report object! This method can only be called by objects create with Report(template) or Report(template, report).
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Sub ProcessSetup( _
ByVal type As Report.TEMPLATE_TYPE, _
Optional ByVal cacheHandler As net.windward.util.AccessProviders.models.ICacheHandler _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Report
Dim type As Report.TEMPLATE_TYPE
Dim cacheHandler As net.windward.util.AccessProviders.models.ICacheHandler
instance.ProcessSetup(type, cacheHandler) |
Parameters
- type
- The format of the template file.
- cacheHandler
Exceptions
Exception | Description |
net.windward.util.LicenseException | thrown if called too often for the license type. |
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.format.TemplateParseException | thrown if there is a problem parsing the template. |
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 10, Windows NT, Windows Server
See Also