public class DefaultNutsTextNodeBuilder extends Object implements net.thevpc.nuts.NutsTextBuilder
| Constructor and Description |
|---|
DefaultNutsTextNodeBuilder(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsTextBuilder |
append(net.thevpc.nuts.NutsText node) |
net.thevpc.nuts.NutsTextBuilder |
append(Object node) |
net.thevpc.nuts.NutsTextBuilder |
append(Object text,
net.thevpc.nuts.NutsTextStyle style) |
net.thevpc.nuts.NutsTextBuilder |
append(Object text,
net.thevpc.nuts.NutsTextStyles styles) |
net.thevpc.nuts.NutsTextBuilder |
appendAll(Collection<?> others) |
net.thevpc.nuts.NutsTextBuilder |
appendCode(String lang,
String text) |
net.thevpc.nuts.NutsTextBuilder |
appendCommand(net.thevpc.nuts.NutsTerminalCommand command) |
net.thevpc.nuts.NutsTextBuilder |
appendHash(Object text) |
net.thevpc.nuts.NutsTextBuilder |
appendHash(Object text,
Object hash) |
net.thevpc.nuts.NutsTextBuilder |
appendJoined(Object separator,
Collection<?> others) |
net.thevpc.nuts.NutsTextBuilder |
appendRandom(Object text) |
net.thevpc.nuts.NutsText |
build() |
String |
filteredText() |
net.thevpc.nuts.NutsTextWriteConfiguration |
getConfiguration() |
net.thevpc.nuts.NutsTextStyleGenerator |
getStyleGenerator() |
net.thevpc.nuts.NutsString |
immutable() |
boolean |
isEmpty() |
net.thevpc.nuts.NutsTextParser |
parser() |
net.thevpc.nuts.NutsTextBuilder |
setConfiguration(net.thevpc.nuts.NutsTextWriteConfiguration writeConfiguration) |
DefaultNutsTextNodeBuilder |
setStyleGenerator(net.thevpc.nuts.NutsTextStyleGenerator styleGenerator) |
int |
size() |
int |
textLength() |
String |
toString() |
net.thevpc.nuts.NutsText |
toText() |
public DefaultNutsTextNodeBuilder(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsTextStyleGenerator getStyleGenerator()
getStyleGenerator in interface net.thevpc.nuts.NutsTextBuilderpublic DefaultNutsTextNodeBuilder setStyleGenerator(net.thevpc.nuts.NutsTextStyleGenerator styleGenerator)
setStyleGenerator in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextWriteConfiguration getConfiguration()
getConfiguration in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder setConfiguration(net.thevpc.nuts.NutsTextWriteConfiguration writeConfiguration)
setConfiguration in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendCommand(net.thevpc.nuts.NutsTerminalCommand command)
appendCommand in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendCode(String lang, String text)
appendCode in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendHash(Object text)
appendHash in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendHash(Object text, Object hash)
appendHash in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendRandom(Object text)
appendRandom in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder append(Object text, net.thevpc.nuts.NutsTextStyle style)
append in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder append(Object text, net.thevpc.nuts.NutsTextStyles styles)
append in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder append(Object node)
append in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder append(net.thevpc.nuts.NutsText node)
append in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendAll(Collection<?> others)
appendAll in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendJoined(Object separator, Collection<?> others)
appendJoined in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsText build()
build in interface net.thevpc.nuts.NutsTextBuilderpublic int size()
size in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextParser parser()
parser in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsString immutable()
immutable in interface net.thevpc.nuts.NutsStringpublic String toString()
public String filteredText()
filteredText in interface net.thevpc.nuts.NutsStringpublic int textLength()
textLength in interface net.thevpc.nuts.NutsStringpublic net.thevpc.nuts.NutsText toText()
toText in interface net.thevpc.nuts.NutsStringpublic boolean isEmpty()
isEmpty in interface net.thevpc.nuts.NutsStringCopyright © 2021 vpc open source initiative. All rights reserved.