public class LiteralText extends BaseText
Text.SerializerStringRenderable.StyledVisitor<T>, StringRenderable.Visitor<T>| Modifier and Type | Field and Description |
|---|---|
static Text |
EMPTY |
private Language |
field_25315 |
private String |
field_25316 |
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, getSiblings, getStyle, hashCode, setStyle, shallowCopyclone, finalize, getClass, notify, notifyAll, wait, wait, waitappend, fillStyle, formatted, formatted, styledasTruncatedString, getString, method_30163, visit, visit, visitSelf, visitSelfconcat, concat, plain, styledpublic static final Text EMPTY
private final String string
private String field_25316
public LiteralText(String string)
public String getRawString()
public String asString()
public LiteralText copy()
Text