public class Text extends Object implements Chunk
| Modifier and Type | Field and Description |
|---|---|
(package private) CharSequence |
value
.
|
| Modifier | Constructor and Description |
|---|---|
private |
Text(CharSequence s) |
| Modifier and Type | Method and Description |
|---|---|
static Text |
create(CharSequence s)
Create a new text chunk wrapping the provided sequence.
|
boolean |
equals(Object obj) |
CharSequence |
getText() |
String |
toString() |
final CharSequence value
private Text(CharSequence s)
public static Text create(CharSequence s) throws NullPointerException
s - the sequenceNullPointerException - if the sequence is nullpublic CharSequence getText()
Copyright © 2014 eXo Platform SAS. All Rights Reserved.