TextChunk constructor

TextChunk(
  1. String text
)

Constructs a new instance of TextChunk with the specified text.

@param text The text of this chunk. @exception IllegalArgumentException if text is null.

Implementation

TextChunk(this.text);