code: public TextMatchBinding setText(
                      final Collection<String> text
                      )
      {
          if (text == null  ||  text.size() == 0) {
              clearText();
              return this;
          }
  
          synchronized (text) {
              for (String  pattern : text) {
                  if (pattern == null  ||  pattern.length() == 0) {
                      throw new IllegalArgumentException( "null element" );
                  }
              }
  
              clearText();
              for (String  pattern : text) {
                  addText( pattern );
              }
          }
  
          return this;
      }
docs: Sets the words/phrases.
  
  @param   text
  the words/phrases.