public class IlrDTIRLTranslatorFactory
extends java.lang.Object
| Constructor and Description |
|---|
IlrDTIRLTranslatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
IlrDTIRLTranslator |
buildTranslator(IlrDTController dtController,
boolean usedInEditor)
This method is used to create new instances of IlrDTIRLTranslator used to translate
Decision Table and Decision Tree into IRL code.
|
static IlrDTIRLTranslatorFactory |
getDefault()
This method returns the DTIRLTranslator factory that have previously been installed
using setDefault() API, or create and install a new factory of type IlrDTIRLTranslatorFactory.
|
static void |
setDefault(IlrDTIRLTranslatorFactory factory)
This method install a new DTIRLTranslator factory.
|
public static void setDefault(IlrDTIRLTranslatorFactory factory)
factory - the factory to installpublic static IlrDTIRLTranslatorFactory getDefault()
public IlrDTIRLTranslator buildTranslator(IlrDTController dtController, boolean usedInEditor)
dtController - the controller for which this translator will be used.usedInEditor - specify whether this translator will be used in the context of editor. If true
the generated IRL is cached to optimize regeneration of the table. This caching is useful if
this translator is used to generate the IRL code of the DT several times after incremental updates
of the DT model.© Copyright IBM Corp. 1987, 2017