crwdns130183:0crwdne130183:0
crwdns130185:0crwdne130185:0
crwdns130187:0crwdne130187:0 |
crwdns130189:0crwdne130189:0 |
crwdns130191:0crwdne130191:0 |
---|---|---|
crwdns130193:0crwdne130193:0 |
crwdns130195:0crwdne130195:0 |
crwdns130197:0crwdne130197:0 |
crwdns130199:0crwdne130199:0 |
crwdns130201:0crwdne130201:0 |
|
crwdns130203:0crwdne130203:0 |
crwdns130205:0crwdne130205:0 |
crwdns130207:0crwdne130207:0 |
crwdns130209:0crwdne130209:0 |
crwdns130211:0crwdne130211:0 |
|
crwdns130213:0crwdne130213:0 |
crwdns130215:0crwdne130215:0 |
|
crwdns130217:0crwdne130217:0 |
crwdns130219:0crwdne130219:0 |
|
crwdns130221:0crwdne130221:0 |
crwdns130223:0crwdne130223:0 |
crwdns130225:0crwdne130225:0 |
crwdns130227:0crwdne130227:0 |
crwdns130229:0crwdne130229:0 |
crwdns130231:0crwdne130231:0 |
crwdns130233:0crwdne130233:0 |
crwdns130235:0crwdne130235:0 |
crwdns130237:0crwdne130237:0
<c n="red">
<u>Hello World!</u>
</c>
crwdns130239:0crwdne130239:0
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.format.TextColors;
import org.spongepowered.api.text.format.TextStyles;
import org.spongepowered.api.text.serializer.TextSerializers;
Text text = Text.of(TextColors.RED, TextStyles.UNDERLINE, "Hello World!");
String xmlText = TextSerializers.TEXT_XML.serialize(text);