public class LiteralText extends BaseText
Text.SerializerStringVisitable.StyledVisitor<T>, StringVisitable.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
static Text |
EMPTY |
private String |
string |
TERMINATE_VISIT| Constructor and Description |
|---|
LiteralText(String string) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString()
Returns the string representation of this text itself, excluding siblings.
|
LiteralText |
copy()
Copies the text itself, excluding the styles or siblings.
|
boolean |
equals(Object obj) |
String |
getRawString() |
String |
toString() |
append, asOrderedText, getSiblings, getStyle, hashCode, setStyle, shallowCopyclone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, fillStyle, formatted, formatted, styledasTruncatedString, getString, of, visit, visit, visitSelf, visitSelfconcat, concat, plain, styledpublic LiteralText(String string)
public String getRawString()
public String asString()
public LiteralText copy()
Text