ilog.rules.dt

Class IlrDTTranslator

  • java.lang.Object
    • ilog.rules.dt.IlrDTTranslator
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    IlrDTIRLTranslator


    public abstract class IlrDTTranslator
    extends java.lang.Object
    implements java.lang.Cloneable, java.io.Serializable
    This class convert its associated DT to a code. The only concrete implementation provided by the DT framework is the IlrDTIRLTranslator.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrDTTranslator(IlrDTController controller)
      This constructor create a Translator for the DT represented by the given controller
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract java.lang.String convertIntoCode(java.util.Collection errors)
      This method is called to convert the DT associated to this translator into code.
      IlrDTController getController()
      This method returns the controller of the DT associated to this translator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrDTTranslator

        public IlrDTTranslator(IlrDTController controller)
        This constructor create a Translator for the DT represented by the given controller
        Parameters:
        controller -
    • Method Detail

      • getController

        public IlrDTController getController()
        This method returns the controller of the DT associated to this translator
        Returns:
        the controller
      • convertIntoCode

        public abstract java.lang.String convertIntoCode(java.util.Collection errors)
        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

© Copyright IBM Corp. 1987, 2017