Class PlainText


  • public class PlainText
    extends java.lang.Object
    A block of text.

    A block of text can contain multiple paragraphs which will be treated individually within the block placement.

    • Constructor Summary

      Constructors 
      Constructor Description
      PlainText​(java.lang.String textValue)
      Construct the text block from a single value.
      PlainText​(java.util.List<java.lang.String> listValue)
      Construct the text block from a list of values.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlainText

        public PlainText​(java.lang.String textValue)
        Construct the text block from a single value. Constructs the text block from a single value splitting into individual PlainText.Paragraph when a new line character is encountered.
        Parameters:
        textValue - the text block string.
      • PlainText

        public PlainText​(java.util.List<java.lang.String> listValue)
        Construct the text block from a list of values. Constructs the text block from a list of values treating each entry as an individual PlainText.Paragraph.
        Parameters:
        listValue - the text block string.