Class TextNode

java.lang.Object
com.aquima.interactions.composer.model.TextElement
com.aquima.interactions.composer.model.TextNode
All Implemented Interfaces:
Serializable

public class TextNode extends TextElement
This class holds a static text string that is part of the text model.
Since:
6.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • TextNode

      public TextNode(String text)
      Construct a text node with a text. this constructor is public to allow test case access.
      Parameters:
      text - The text of the text node
  • Method Details

    • getText

      public String getText()
      This method returns the text string of this element.
      Returns:
      the text string of this element.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class TextElement
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class TextElement