class TextChunk extends Chunk
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
text
This is the backing field for
getText(). |
| Constructor and Description |
|---|
TextChunk(java.lang.String text)
Constructs a new instance of
TextChunk with the specified text. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText()
Gets the raw text of this chunk.
|
java.lang.String |
toString() |
private final java.lang.String text
getText().public TextChunk(java.lang.String text)
TextChunk with the specified text.text - The text of this chunk.java.lang.IllegalArgumentException - if text is null.