Class DefaultTextBlock

    • Field Detail

      • textBlockId

        private static int textBlockId
    • Constructor Detail

      • DefaultTextBlock

        public DefaultTextBlock​(TextSentence... textSentences)
      • DefaultTextBlock

        public DefaultTextBlock​(java.util.Collection<TextSentence> textSentences)
      • DefaultTextBlock

        public DefaultTextBlock​(java.lang.String text)
    • Method Detail

      • toJson

        public java.lang.String toJson()
        Specified by:
        toJson in interface TextBlock
      • setTag

        public boolean setTag​(java.lang.String token,
                              java.lang.String tag)
        Specified by:
        setTag in interface TextBlock