Class DrgXmlRenderer

java.lang.Object
com.aquima.interactions.rule.DrgXmlRenderer

public class DrgXmlRenderer extends Object
This XML renderer object is constructed to convert a Decision Requirements Graph DMNDecisionTree object to a XML document for persistency purposes.
Since:
9.3
Author:
J. Hermus, M. Mahabiersing
  • Constructor Details

    • DrgXmlRenderer

      public DrgXmlRenderer()
  • Method Details

    • createXMLDocumentFromDRG

      public String createXMLDocumentFromDRG(DMNDecisionTree decisionTree, Map<String,String> justificationTexts)
      This method creates an XML representation of the Decision Requirements Graph.
      Parameters:
      decisionTree - - decision tree that should be converted to XML
      justificationTexts - - map containing justification texts for each justificationTextId that was used for drg
      Returns:
      The string representation of the XML document.