public class DefaultNTextNodeBuilder extends AbstractNText implements net.thevpc.nuts.text.NTextBuilder
| Constructor and Description |
|---|
DefaultNTextNodeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.text.NTextBuilder |
append(net.thevpc.nuts.text.NText node) |
net.thevpc.nuts.text.NTextBuilder |
append(Object node) |
net.thevpc.nuts.text.NTextBuilder |
append(Object text,
net.thevpc.nuts.text.NTextStyle style) |
net.thevpc.nuts.text.NTextBuilder |
append(Object text,
net.thevpc.nuts.text.NTextStyles styles) |
net.thevpc.nuts.text.NTextBuilder |
appendAll(Collection<?> others) |
net.thevpc.nuts.text.NTextBuilder |
appendCode(String lang,
String text) |
net.thevpc.nuts.text.NTextBuilder |
appendCommand(net.thevpc.nuts.text.NTerminalCmd command) |
net.thevpc.nuts.text.NTextBuilder |
appendHashStyle(Object text) |
net.thevpc.nuts.text.NTextBuilder |
appendHashStyle(Object text,
Object hash) |
net.thevpc.nuts.text.NTextBuilder |
appendJoined(Object separator,
Collection<?> others) |
net.thevpc.nuts.text.NTextBuilder |
appendRandomStyle(Object text) |
net.thevpc.nuts.text.NText |
build() |
net.thevpc.nuts.text.NTextBuilder |
builder() |
net.thevpc.nuts.text.NTextBuilder |
copy() |
net.thevpc.nuts.text.NTextBuilder |
delete(int start,
int end) |
int |
ensureCut(int at) |
String |
filteredText() |
net.thevpc.nuts.text.NTextBuilder |
flatten() |
net.thevpc.nuts.text.NText |
get(int index) |
List<net.thevpc.nuts.text.NText> |
getChildren() |
net.thevpc.nuts.text.NTextStyleGenerator |
getStyleGenerator() |
net.thevpc.nuts.text.NTextType |
getType() |
net.thevpc.nuts.text.NText |
immutable() |
net.thevpc.nuts.text.NTextBuilder |
insert(int at,
net.thevpc.nuts.text.NText... newTexts) |
boolean |
isBlank() |
boolean |
isEmpty() |
Iterator<net.thevpc.nuts.text.NText> |
iterator() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.text.NTextBuilder> |
lines() |
net.thevpc.nuts.text.NTextBuilder |
readLine() |
net.thevpc.nuts.text.NTextBuilder |
removeAt(int index) |
net.thevpc.nuts.text.NTextBuilder |
replace(int from,
int to,
net.thevpc.nuts.text.NText... newTexts) |
net.thevpc.nuts.text.NTextBuilder |
replaceChildren(int from,
int to,
net.thevpc.nuts.text.NText... newTexts) |
DefaultNTextNodeBuilder |
setStyleGenerator(net.thevpc.nuts.text.NTextStyleGenerator styleGenerator) |
net.thevpc.nuts.text.NText |
simplify() |
int |
size() |
net.thevpc.nuts.text.NText |
subChildren(int from,
int to) |
net.thevpc.nuts.text.NText |
substring(int start,
int end) |
int |
textLength() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitof, of, of, ofAnchor, ofAnchor, ofBlank, ofCode, ofCode, ofCodeOrCommand, ofCodeOrCommand, ofCodeOrCommand, ofCommand, ofInclude, ofInclude, ofLink, ofLink, ofList, ofList, ofNumbering, ofNumbering, ofPlain, ofStyled, ofStyled, ofStyled, ofStyled, ofStyled, ofStyled, ofStyledError, ofStyledPath, ofStyledPrimary1, ofStyledPrimary2, ofStyledPrimary3, ofStyledPrimary4, ofStyledPrimary5, ofStyledPrimary6, ofStyledPrimary7, ofStyledPrimary8, ofStyledPrimary9, ofStyledSuccess, ofStyledWarn, ofTitle, ofTitlefirstNonBlank, firstNonBlank, firstNonBlank, isBlank, isBlank, isBlank, isBlank, isBlank, isNonBlankforEach, spliteratorpublic Iterator<net.thevpc.nuts.text.NText> iterator()
public net.thevpc.nuts.text.NTextType getType()
getType in interface net.thevpc.nuts.text.NTextpublic net.thevpc.nuts.text.NTextStyleGenerator getStyleGenerator()
getStyleGenerator in interface net.thevpc.nuts.text.NTextBuilderpublic String toString()
toString in interface net.thevpc.nuts.text.NTexttoString in interface net.thevpc.nuts.text.NTextBuildertoString in class AbstractNTextpublic DefaultNTextNodeBuilder setStyleGenerator(net.thevpc.nuts.text.NTextStyleGenerator styleGenerator)
setStyleGenerator in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendCommand(net.thevpc.nuts.text.NTerminalCmd command)
appendCommand in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendCode(String lang, String text)
appendCode in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendHashStyle(Object text)
appendHashStyle in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendRandomStyle(Object text)
appendRandomStyle in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendHashStyle(Object text, Object hash)
appendHashStyle in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder append(Object text, net.thevpc.nuts.text.NTextStyle style)
append in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder append(Object text, net.thevpc.nuts.text.NTextStyles styles)
append in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder append(Object node)
append in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder append(net.thevpc.nuts.text.NText node)
append in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NText substring(int start,
int end)
substring in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder delete(int start,
int end)
delete in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendJoined(Object separator, Collection<?> others)
appendJoined in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder appendAll(Collection<?> others)
appendAll in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NText build()
build in interface net.thevpc.nuts.text.NTextBuilderpublic List<net.thevpc.nuts.text.NText> getChildren()
getChildren in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NText subChildren(int from,
int to)
subChildren in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder insert(int at,
net.thevpc.nuts.text.NText... newTexts)
insert in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder replace(int from,
int to,
net.thevpc.nuts.text.NText... newTexts)
replace in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder replaceChildren(int from,
int to,
net.thevpc.nuts.text.NText... newTexts)
replaceChildren in interface net.thevpc.nuts.text.NTextBuilderpublic int size()
size in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NText get(int index)
get in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder flatten()
flatten in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder removeAt(int index)
removeAt in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.text.NTextBuilder> lines()
lines in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder readLine()
readLine in interface net.thevpc.nuts.text.NTextBuilderpublic net.thevpc.nuts.text.NTextBuilder copy()
public int ensureCut(int at)
public net.thevpc.nuts.text.NText immutable()
immutable in interface net.thevpc.nuts.text.NTextpublic net.thevpc.nuts.text.NText simplify()
simplify in interface net.thevpc.nuts.text.NTextpublic String filteredText()
filteredText in interface net.thevpc.nuts.text.NTextfilteredText in class AbstractNTextpublic int textLength()
textLength in interface net.thevpc.nuts.text.NTexttextLength in class AbstractNTextpublic boolean isEmpty()
isEmpty in interface net.thevpc.nuts.text.NTextisEmpty in class AbstractNTextpublic net.thevpc.nuts.text.NTextBuilder builder()
builder in interface net.thevpc.nuts.text.NTextbuilder in class AbstractNTextpublic boolean isBlank()
isBlank in interface net.thevpc.nuts.util.NBlankableisBlank in class AbstractNTextCopyright © 2025 vpc open source initiative. All rights reserved.