public class DefaultNElementFormatterBuilder extends Object implements net.thevpc.nuts.elem.NElementFormatterBuilder, net.thevpc.nuts.elem.NElementFormatOptions
| Constructor and Description |
|---|
DefaultNElementFormatterBuilder() |
DefaultNElementFormatterBuilder(List<net.thevpc.nuts.elem.NElementFormatterAction> actions,
Map<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.elem.NElementFormatterBuilder |
addAction(net.thevpc.nuts.elem.NElementFormatterAction action) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
addNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
addNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
net.thevpc.nuts.text.NNewLineMode space) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
addSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
addSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
String space) |
net.thevpc.nuts.elem.NElementFormatter |
build() |
int |
columnLimit() |
int |
complexityThreshold() |
int |
indent() |
net.thevpc.nuts.text.NNewLineMode |
newLineMode() |
net.thevpc.nuts.elem.NElementFormatterBuilder |
removeAffixes(net.thevpc.nuts.elem.NElementType elementType,
Predicate<net.thevpc.nuts.elem.NBoundAffix> affixPredicate) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
removeComments() |
net.thevpc.nuts.elem.NElementFormatterBuilder |
removeNewlines() |
net.thevpc.nuts.elem.NElementFormatterBuilder |
removeSeparators() |
net.thevpc.nuts.elem.NElementFormatterBuilder |
removeSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
removeWhitespaces() |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setColumnLimit(int columnLimit) |
DefaultNElementFormatterBuilder |
setComplexityThreshold(int complexityThreshold) |
DefaultNElementFormatterBuilder |
setIndent(int indent) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
net.thevpc.nuts.text.NNewLineMode space) |
DefaultNElementFormatterBuilder |
setNewLineMode(net.thevpc.nuts.text.NNewLineMode newLineMode) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
String space) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setSpaces(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
int count) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setTab(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NElementFormatterBuilder |
setTabs(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
int count) |
public net.thevpc.nuts.elem.NElementFormatterBuilder addAction(net.thevpc.nuts.elem.NElementFormatterAction action)
addAction in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder addSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor)
addSpace in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic int columnLimit()
columnLimit in interface net.thevpc.nuts.elem.NElementFormatOptionscolumnLimit in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setColumnLimit(int columnLimit)
setColumnLimit in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.text.NNewLineMode newLineMode()
newLineMode in interface net.thevpc.nuts.elem.NElementFormatOptionspublic DefaultNElementFormatterBuilder setNewLineMode(net.thevpc.nuts.text.NNewLineMode newLineMode)
public int indent()
indent in interface net.thevpc.nuts.elem.NElementFormatOptionsindent in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic DefaultNElementFormatterBuilder setIndent(int indent)
setIndent in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic int complexityThreshold()
complexityThreshold in interface net.thevpc.nuts.elem.NElementFormatOptionscomplexityThreshold in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic DefaultNElementFormatterBuilder setComplexityThreshold(int complexityThreshold)
setComplexityThreshold in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder removeWhitespaces()
removeWhitespaces in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder removeSeparators()
removeSeparators in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder removeNewlines()
removeNewlines in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder removeComments()
removeComments in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder removeAffixes(net.thevpc.nuts.elem.NElementType elementType,
Predicate<net.thevpc.nuts.elem.NBoundAffix> affixPredicate)
removeAffixes in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setSpaces(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
int count)
setSpaces in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor)
setSpace in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setTabs(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
int count)
setTabs in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setTab(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor)
setTab in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
String space)
setSpace in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor)
setNewline in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder addNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor)
addNewline in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder addNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
net.thevpc.nuts.text.NNewLineMode space)
addNewline in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder setNewline(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
net.thevpc.nuts.text.NNewLineMode space)
setNewline in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder removeSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor)
removeSpace in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatterBuilder addSpace(net.thevpc.nuts.elem.NElementType elementType,
net.thevpc.nuts.elem.NAffixAnchor anchor,
String space)
addSpace in interface net.thevpc.nuts.elem.NElementFormatterBuilderpublic net.thevpc.nuts.elem.NElementFormatter build()
build in interface net.thevpc.nuts.elem.NElementFormatterBuilderCopyright © 2026 vpc open source initiative. All rights reserved.