Class XmlDecisionTreeDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.dtree.ds.xml.r17.parsing.XmlDecisionTreeDS
All Implemented Interfaces:
IDecisionTreeDS, IReportingDS

public class XmlDecisionTreeDS extends ReportingDS implements IDecisionTreeDS
Release 8.x implementation of the decision tree data source from XML.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • getDisplayText

      public IMultilingualText getDisplayText()
      Description copied from interface: IDecisionTreeDS
      This method should return the description of text used for display of the decision tree.
      Specified by:
      getDisplayText in interface IDecisionTreeDS
      Returns:
      the description of text used for display of the decision tree.
    • isExposedAsWebservice

      public boolean isExposedAsWebservice()
      Description copied from interface: IDecisionTreeDS
      This method should indicate whether the decision tree will be exposed as a webservice.
      Specified by:
      isExposedAsWebservice in interface IDecisionTreeDS
      Returns:
      true if exposed otherwise false
    • getName

      public String getName()
      Description copied from interface: IDecisionTreeDS
      This method should return the name of the decision tree.
      Specified by:
      getName in interface IDecisionTreeDS
      Returns:
      the name of the decision tree.
    • getRoles

      public String[] getRoles()
      Description copied from interface: IDecisionTreeDS
      This method should return the roles required to access the decision tree.
      Specified by:
      getRoles in interface IDecisionTreeDS
      Returns:
      the roles required to access the decision tree.
    • iterateNodes

      public void iterateNodes(ITreeNodeVisitor visitor)
      Description copied from interface: IDecisionTreeDS
      This method should iterate over the top node(s) of the tree, and add them to the provided visitor.
      Specified by:
      iterateNodes in interface IDecisionTreeDS
      Parameters:
      visitor - The visitor that should be used to add the nodes to.
    • iterateSymptoms

      public void iterateSymptoms(ITreeSymptomVisitor visitor)
      Description copied from interface: IDecisionTreeDS
      This method should iterate over the symptoms of the tree and add them to the visitor.
      Specified by:
      iterateSymptoms in interface IDecisionTreeDS
      Parameters:
      visitor - The visitor that should be used to add the symptoms to.