public class IlrExcel2003ScenarioSuiteWriterFactory
extends java.lang.Object
IlrExcel2003ScenarioSuiteWriter.
This class follows the singleton pattern.
To write data to an Excel scenario file using the API, use this factory class to handle basic file management, and IlrExcel2003ScenarioSuiteWriter to populate the scenario file.
A code example showing how the use the writer and the factory is available in the package description ilog.rules.dvs.excel.
Decision Validation Services provides business rule testing and simulation solutions to developers and business users.
You use the DVS API to:
| Modifier and Type | Class and Description |
|---|---|
static class |
IlrExcel2003ScenarioSuiteWriterFactory.ModelType
Represents the type of model used to populate the Excel 2003 scenario file.
|
| Modifier and Type | Method and Description |
|---|---|
static IlrExcel2003ScenarioSuiteWriterFactory |
getInstance()
Returns the singleton instance.
|
IlrExcel2003ScenarioSuiteWriter |
getNewWriter(java.io.InputStream theExcel2003ScenarioSuite,
IlrRulesetArchive theRulesetArchive,
IlrExcel2003ScenarioSuiteWriterFactory.ModelType type,
java.util.Properties theMappingProperties)
Returns a new instance of the scenario suite writer.
|
public static IlrExcel2003ScenarioSuiteWriterFactory getInstance()
public IlrExcel2003ScenarioSuiteWriter getNewWriter(java.io.InputStream theExcel2003ScenarioSuite, IlrRulesetArchive theRulesetArchive, IlrExcel2003ScenarioSuiteWriterFactory.ModelType type, java.util.Properties theMappingProperties) throws IlrExcel2003ScenarioSuiteIOException, IlrExcel2003ScenarioSuiteDataException
IlrExcel2003ScenarioSuiteIOExceptionIlrExcel2003ScenarioSuiteDataExceptiontheExcel2003ScenarioSuite - An input stream to the Excel
2003 scenario file.theRulesetArchive - The BOM of the ruleset the scenario suite has been created
for.type - The type of data given. One of XML, XOM, or BOM serialization.theMappingProperties - The properties attached to the writer used
to help with the translation.© Copyright IBM Corp. 1987, 2017