Package ilog.rules.dt
Class IlrDTTranslator
java.lang.Object
ilog.rules.dt.IlrDTTranslator
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
IlrDTIRLTranslator
This class convert its associated DT to a code. The only concrete implementation provided by the DT
framework is the IlrDTIRLTranslator.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIlrDTTranslator(IlrDTController controller) This constructor create a Translator for the DT represented by the given controller -
Method Summary
Modifier and TypeMethodDescriptionabstract StringconvertIntoCode(Collection errors) This method is called to convert the DT associated to this translator into code.This method returns the controller of the DT associated to this translator
-
Field Details
-
controller
-
-
Constructor Details
-
IlrDTTranslator
This constructor create a Translator for the DT represented by the given controller- Parameters:
controller-
-
-
Method Details
-
getController
This method returns the controller of the DT associated to this translator- Returns:
- the controller
-
convertIntoCode
This method is called to convert the DT associated to this translator into code. Errors that could be generated during the translation process should be returned to the given error collection, if one is provided- Parameters:
errors- if not null, this collection is filled with errors that occurs during the translation process- Returns:
- the resulting code
-