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() |
net.thevpc.nuts.NutsTextBuilder |
builder() |
net.thevpc.nuts.NutsTextBuilder |
copy() |
int |
ensureCut(int at) |
String |
filteredText() |
net.thevpc.nuts.NutsTextBuilder |
flatten() |
net.thevpc.nuts.NutsText |
get(int index) |
List<net.thevpc.nuts.NutsText> |
getChildren() |
net.thevpc.nuts.NutsTextWriteConfiguration |
getConfiguration() |
net.thevpc.nuts.NutsTextStyleGenerator |
getStyleGenerator() |
net.thevpc.nuts.NutsString |
immutable() |
net.thevpc.nuts.NutsTextBuilder |
insert(int at,
net.thevpc.nuts.NutsText... newTexts) |
boolean |
isBlank() |
boolean |
isEmpty() |
Iterable<net.thevpc.nuts.NutsText> |
items() |
net.thevpc.nuts.NutsStream<net.thevpc.nuts.NutsTextBuilder> |
lines() |
net.thevpc.nuts.NutsTextParser |
parser() |
net.thevpc.nuts.NutsTextBuilder |
readLine() |
net.thevpc.nuts.NutsTextBuilder |
removeAt(int index) |
net.thevpc.nuts.NutsTextBuilder |
replace(int from,
int to,
net.thevpc.nuts.NutsText... newTexts) |
net.thevpc.nuts.NutsTextBuilder |
replaceChildren(int from,
int to,
net.thevpc.nuts.NutsText... newTexts) |
net.thevpc.nuts.NutsTextBuilder |
setConfiguration(net.thevpc.nuts.NutsTextWriteConfiguration writeConfiguration) |
DefaultNutsTextNodeBuilder |
setStyleGenerator(net.thevpc.nuts.NutsTextStyleGenerator styleGenerator) |
int |
size() |
net.thevpc.nuts.NutsText |
subChildren(int from,
int to) |
net.thevpc.nuts.NutsText |
substring(int from,
int to) |
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 appendRandom(Object text)
appendRandom 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 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 appendJoined(Object separator, Collection<?> others)
appendJoined in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder appendAll(Collection<?> others)
appendAll in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsText build()
build in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextParser parser()
parser in interface net.thevpc.nuts.NutsTextBuilderpublic List<net.thevpc.nuts.NutsText> getChildren()
getChildren in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsText subChildren(int from,
int to)
subChildren in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsText substring(int from,
int to)
substring in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder insert(int at,
net.thevpc.nuts.NutsText... newTexts)
insert in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder replace(int from,
int to,
net.thevpc.nuts.NutsText... newTexts)
replace in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder replaceChildren(int from,
int to,
net.thevpc.nuts.NutsText... newTexts)
replaceChildren in interface net.thevpc.nuts.NutsTextBuilderpublic int size()
size in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsText get(int index)
get in interface net.thevpc.nuts.NutsTextBuilderpublic Iterable<net.thevpc.nuts.NutsText> items()
items in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder flatten()
flatten in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder removeAt(int index)
removeAt in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsStream<net.thevpc.nuts.NutsTextBuilder> lines()
lines in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder readLine()
readLine in interface net.thevpc.nuts.NutsTextBuilderpublic net.thevpc.nuts.NutsTextBuilder copy()
public int ensureCut(int at)
public net.thevpc.nuts.NutsString immutable()
immutable in interface net.thevpc.nuts.NutsStringpublic 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.NutsStringpublic net.thevpc.nuts.NutsTextBuilder builder()
builder in interface net.thevpc.nuts.NutsStringpublic String toString()
public boolean isBlank()
isBlank in interface net.thevpc.nuts.NutsBlankableCopyright © 2022 vpc open source initiative. All rights reserved.