ilog.rules.dt

Class IlrDTRuleDefinition

  • java.lang.Object
    • ilog.rules.dt.IlrDTRuleDefinition
  • All Implemented Interfaces:
    ilog.rules.shared.util.IlrCloneable, java.io.Serializable, java.lang.Cloneable


    public class IlrDTRuleDefinition
    extends java.lang.Object
    implements ilog.rules.shared.util.IlrCloneable, java.io.Serializable
    This class wraps the DOM of a DT model and store a DTController that is lazily created from the XML definition.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected org.w3c.dom.Node definition 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      org.w3c.dom.Node getDefinition()
      This method returns the DOM root node of the DT Model XML tree.
      org.w3c.dom.Node getDefinition(IlrDTRuleElement dtRule, IlrDTEnvironment dtEnv)
      This method returns the DOM root node of the DT Model XML tree.
      IlrDTController loadDTController(IlrDTRuleElement dtRuleElement, IlrDTEnvironment dtEnvironment)
      This method create the DT Controller corresponding to the DOM stored on this DTRuleDefinition
      protected org.w3c.dom.Node serializeDefinition(org.w3c.dom.Document document, org.w3c.dom.Node node) 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface ilog.rules.shared.util.IlrCloneable

        clone
    • Field Detail

      • definition

        protected org.w3c.dom.Node definition
    • Method Detail

      • getDefinition

        public org.w3c.dom.Node getDefinition()
        This method returns the DOM root node of the DT Model XML tree. This method may return null if the DOM has been discarded. Use getDefinition(IlrDTRuleElement, IlrDTEnvironment) to force reloading of the DOM.
        Returns:
        the DOM root node of the XML Tree of the DT Model.
      • getDefinition

        public org.w3c.dom.Node getDefinition(IlrDTRuleElement dtRule,
                                     IlrDTEnvironment dtEnv)
        This method returns the DOM root node of the DT Model XML tree.
        Returns:
        the DOM root node of the XML Tree of the DT Model.
      • loadDTController

        public IlrDTController loadDTController(IlrDTRuleElement dtRuleElement,
                                       IlrDTEnvironment dtEnvironment)
        This method create the DT Controller corresponding to the DOM stored on this DTRuleDefinition
        Parameters:
        dtRuleElement - the DTRule to which this DT Controller is associated
        dtEnvironment - the DTEnvironement in which this DT Controller is created.
        Returns:
        a fully loaded DT Controller
      • serializeDefinition

        protected org.w3c.dom.Node serializeDefinition(org.w3c.dom.Document document,
                                           org.w3c.dom.Node node)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

© Copyright IBM Corp. 1987, 2017