Package com.aquima.interactions.rule
Class DrgXmlRenderer
java.lang.Object
com.aquima.interactions.rule.DrgXmlRenderer
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateXMLDocumentFromDRG
(DMNDecisionTree decisionTree, Map<String, String> justificationTexts) This method creates an XML representation of the Decision Requirements Graph.
-
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 XMLjustificationTexts
- - map containing justification texts for each justificationTextId that was used for drg- Returns:
- The string representation of the XML document.
-