java.lang.Object
com.aquima.interactions.composer.model.definition.NodeVisitor
All Implemented Interfaces:
INodeVisitor

public class NodeVisitor extends Object implements INodeVisitor
This visitor is used during initialization to add child nodes to a composite content node.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • addContent

      public void addContent(IReferenceDS referenceDS, IContentDS datasource)
      Description copied from interface: INodeVisitor
      This method may be used to add inline content to the current content node.
      Specified by:
      addContent in interface INodeVisitor
      Parameters:
      referenceDS - Data source providing information specific for the relation between the parent content and the sub content that is added.
      datasource - Data source providing the data needed to initialize the sub content.
    • addContentRef

      public void addContentRef(IReferenceDS referenceDS, String contentName)
      Description copied from interface: INodeVisitor
      This method may be used to a reference to an existing content element to the current content node.
      Specified by:
      addContentRef in interface INodeVisitor
      Parameters:
      referenceDS - Data source providing information specific for the relation between the parent content and the sub content that is added.
      contentName - The name of the content item that should be included as sub content.
    • addText

      public void addText(IReferenceDS referenceDS, ITextDS datasource)
      Description copied from interface: INodeVisitor
      This method may be used to add inline content to the current content node.
      Specified by:
      addText in interface INodeVisitor
      Parameters:
      referenceDS - Data source providing information specific for the relation between the parent content and the sub content that is added.
      datasource - Data source providing the data needed to initialize the sub content.
    • addContainerRef

      public void addContainerRef(IReferenceDS referenceDS, String name)
      Description copied from interface: INodeVisitor
      This method may be used to add a container reference to an existing container element to the current content node.
      Specified by:
      addContainerRef in interface INodeVisitor
      Parameters:
      referenceDS - Data source providing information specific for the relation between the parent content and the sub content that is added.
      name - The name of the container element that should be included as sub content.
    • addTextRef

      public void addTextRef(IReferenceDS referenceDS, String textName)
      Description copied from interface: INodeVisitor
      This method may be used to add a reference to an existing text element to the current content node.
      Specified by:
      addTextRef in interface INodeVisitor
      Parameters:
      referenceDS - Data source providing information specific for the relation between the parent content and the sub content that is added.
      textName - The name of the text element that should be included as sub content.
    • addImageRef

      public void addImageRef(IReferenceDS referenceDS, String imageName)
      Description copied from interface: INodeVisitor
      This method may be used to add an image reference to an existing image element to the current content node.
      Specified by:
      addImageRef in interface INodeVisitor
      Parameters:
      referenceDS - Data source providing information specific for the relation between the parent content and the sub content that is added.
      imageName - The name of the image element that should be included as sub content.