public class DefaultNListElementBuilder extends AbstractNElementBuilder implements net.thevpc.nuts.elem.NListElementBuilder
| Constructor and Description |
|---|
DefaultNListElementBuilder(net.thevpc.nuts.elem.NElementType type,
int depth) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.elem.NListElementBuilder |
addAffix(net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NListElementBuilder |
addAffix(net.thevpc.nuts.elem.NBoundAffix affix) |
net.thevpc.nuts.elem.NListElementBuilder |
addAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NListElementBuilder |
addAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix) |
net.thevpc.nuts.elem.NListElementBuilder |
addAffixes(List<? extends net.thevpc.nuts.elem.NAffix> affixes,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NListElementBuilder |
addAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes) |
net.thevpc.nuts.elem.NListElementBuilder |
addAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation) |
net.thevpc.nuts.elem.NListElementBuilder |
addAnnotation(String name,
net.thevpc.nuts.elem.NElement... args) |
net.thevpc.nuts.elem.NListElementBuilder |
addAnnotations(List<net.thevpc.nuts.elem.NElementAnnotation> annotations) |
net.thevpc.nuts.elem.NListElementBuilder |
addDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error) |
net.thevpc.nuts.elem.NListElementBuilder |
addItem(net.thevpc.nuts.elem.NListItemElement item) |
net.thevpc.nuts.elem.NListElementBuilder |
addItems(net.thevpc.nuts.elem.NListItemElement[] items) |
net.thevpc.nuts.elem.NListElementBuilder |
addLeadingComment(net.thevpc.nuts.elem.NElementComment comment) |
net.thevpc.nuts.elem.NListElementBuilder |
addLeadingComments(net.thevpc.nuts.elem.NElementComment... comments) |
net.thevpc.nuts.elem.NListElementBuilder |
addTrailingComment(net.thevpc.nuts.elem.NElementComment comment) |
net.thevpc.nuts.elem.NListElementBuilder |
addTrailingComments(net.thevpc.nuts.elem.NElementComment... comments) |
net.thevpc.nuts.elem.NListElement |
build() |
net.thevpc.nuts.elem.NListElementBuilder |
clearAffixes() |
net.thevpc.nuts.elem.NListElementBuilder |
clearAnnotations() |
net.thevpc.nuts.elem.NListElementBuilder |
clearComments() |
net.thevpc.nuts.elem.NListElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElement other) |
net.thevpc.nuts.elem.NListElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElementBuilder other) |
net.thevpc.nuts.elem.NListElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElementBuilder other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy) |
net.thevpc.nuts.elem.NListElementBuilder |
copyFrom(net.thevpc.nuts.elem.NElement other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy) |
int |
depth() |
net.thevpc.nuts.elem.NListElementBuilder |
doWith(Consumer<net.thevpc.nuts.elem.NListElementBuilder> con) |
net.thevpc.nuts.elem.NListItemElement |
get(int index) |
List<net.thevpc.nuts.elem.NListItemElement> |
items() |
net.thevpc.nuts.elem.NListElementBuilder |
metadata(net.thevpc.nuts.elem.NElementMetadata metadata) |
net.thevpc.nuts.elem.NListElementBuilder |
removeAffix(int affix) |
net.thevpc.nuts.elem.NListElementBuilder |
removeAffixes(net.thevpc.nuts.elem.NAffixType type,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NListElementBuilder |
removeAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation) |
net.thevpc.nuts.elem.NListElementBuilder |
removeDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error) |
net.thevpc.nuts.elem.NListElementBuilder |
setAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor) |
net.thevpc.nuts.elem.NListElementBuilder |
setAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix) |
net.thevpc.nuts.elem.NListElementBuilder |
setAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes) |
net.thevpc.nuts.elem.NListElementBuilder |
setItemAt(int index,
net.thevpc.nuts.elem.NListItemElement other) |
int |
size() |
net.thevpc.nuts.elem.NElementType |
type() |
addNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, toString, trailingCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, trailingCommentspublic DefaultNListElementBuilder(net.thevpc.nuts.elem.NElementType type,
int depth)
public net.thevpc.nuts.elem.NListElementBuilder doWith(Consumer<net.thevpc.nuts.elem.NListElementBuilder> con)
doWith in interface net.thevpc.nuts.elem.NListElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addItem(net.thevpc.nuts.elem.NListItemElement item)
addItem in interface net.thevpc.nuts.elem.NListElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addItems(net.thevpc.nuts.elem.NListItemElement[] items)
public net.thevpc.nuts.elem.NListElement build()
build in interface net.thevpc.nuts.elem.NElementBuilderbuild in interface net.thevpc.nuts.elem.NListElementBuilderpublic int depth()
depth in interface net.thevpc.nuts.elem.NListElementBuilderpublic net.thevpc.nuts.elem.NElementType type()
type in interface net.thevpc.nuts.elem.NElementBuilderpublic net.thevpc.nuts.elem.NListItemElement get(int index)
get in interface net.thevpc.nuts.elem.NListElementBuilderpublic int size()
size in interface net.thevpc.nuts.elem.NListElementBuilderpublic List<net.thevpc.nuts.elem.NListItemElement> items()
items in interface net.thevpc.nuts.elem.NListElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder setItemAt(int index,
net.thevpc.nuts.elem.NListItemElement other)
setItemAt in interface net.thevpc.nuts.elem.NListElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder copyFrom(net.thevpc.nuts.elem.NElementBuilder other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NListElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder copyFrom(net.thevpc.nuts.elem.NElement other,
net.thevpc.nuts.util.NAssignmentPolicy assignmentPolicy)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NListElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAnnotations(List<net.thevpc.nuts.elem.NElementAnnotation> annotations)
addAnnotations in interface net.thevpc.nuts.elem.NElementBuilderaddAnnotations in interface net.thevpc.nuts.elem.NListElementBuilderaddAnnotations in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAnnotation(String name, net.thevpc.nuts.elem.NElement... args)
addAnnotation in interface net.thevpc.nuts.elem.NElementBuilderaddAnnotation in interface net.thevpc.nuts.elem.NListElementBuilderaddAnnotation in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation)
addAnnotation in interface net.thevpc.nuts.elem.NElementBuilderaddAnnotation in interface net.thevpc.nuts.elem.NListElementBuilderaddAnnotation in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix)
addAffixAt in interface net.thevpc.nuts.elem.NElementBuilderaddAffixAt in interface net.thevpc.nuts.elem.NListElementBuilderaddAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder removeAffix(int affix)
removeAffix in interface net.thevpc.nuts.elem.NElementBuilderremoveAffix in interface net.thevpc.nuts.elem.NListElementBuilderremoveAffix in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder clearAnnotations()
clearAnnotations in interface net.thevpc.nuts.elem.NElementBuilderclearAnnotations in interface net.thevpc.nuts.elem.NListElementBuilderclearAnnotations in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder clearAffixes()
clearAffixes in interface net.thevpc.nuts.elem.NElementBuilderclearAffixes in interface net.thevpc.nuts.elem.NListElementBuilderclearAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder clearComments()
clearComments in interface net.thevpc.nuts.elem.NElementBuilderclearComments in interface net.thevpc.nuts.elem.NListElementBuilderclearComments in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder setAffixAt(int index,
net.thevpc.nuts.elem.NBoundAffix affix)
setAffixAt in interface net.thevpc.nuts.elem.NElementBuildersetAffixAt in interface net.thevpc.nuts.elem.NListElementBuildersetAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder setAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes)
setAffixes in interface net.thevpc.nuts.elem.NElementBuildersetAffixes in interface net.thevpc.nuts.elem.NListElementBuildersetAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAffix(net.thevpc.nuts.elem.NBoundAffix affix)
addAffix in interface net.thevpc.nuts.elem.NElementBuilderaddAffix in interface net.thevpc.nuts.elem.NListElementBuilderaddAffix in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor)
addAffixAt in interface net.thevpc.nuts.elem.NElementBuilderaddAffixAt in interface net.thevpc.nuts.elem.NListElementBuilderaddAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder setAffixAt(int index,
net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor)
setAffixAt in interface net.thevpc.nuts.elem.NElementBuildersetAffixAt in interface net.thevpc.nuts.elem.NListElementBuildersetAffixAt in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder removeDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error)
removeDiagnostic in interface net.thevpc.nuts.elem.NElementBuilderremoveDiagnostic in interface net.thevpc.nuts.elem.NListElementBuilderremoveDiagnostic in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAffixes(List<net.thevpc.nuts.elem.NBoundAffix> affixes)
addAffixes in interface net.thevpc.nuts.elem.NElementBuilderaddAffixes in interface net.thevpc.nuts.elem.NListElementBuilderaddAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addDiagnostic(net.thevpc.nuts.elem.NElementDiagnostic error)
addDiagnostic in interface net.thevpc.nuts.elem.NElementBuilderaddDiagnostic in interface net.thevpc.nuts.elem.NListElementBuilderaddDiagnostic in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAffixes(List<? extends net.thevpc.nuts.elem.NAffix> affixes, net.thevpc.nuts.elem.NAffixAnchor anchor)
addAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addAffix(net.thevpc.nuts.elem.NAffix affix,
net.thevpc.nuts.elem.NAffixAnchor anchor)
addAffix in interface net.thevpc.nuts.elem.NElementBuilderaddAffix in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder removeAffixes(net.thevpc.nuts.elem.NAffixType type,
net.thevpc.nuts.elem.NAffixAnchor anchor)
removeAffixes in interface net.thevpc.nuts.elem.NElementBuilderremoveAffixes in interface net.thevpc.nuts.elem.NListElementBuilderremoveAffixes in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addLeadingComment(net.thevpc.nuts.elem.NElementComment comment)
addLeadingComment in interface net.thevpc.nuts.elem.NElementBuilderaddLeadingComment in interface net.thevpc.nuts.elem.NListElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addLeadingComments(net.thevpc.nuts.elem.NElementComment... comments)
addLeadingComments in interface net.thevpc.nuts.elem.NElementBuilderaddLeadingComments in interface net.thevpc.nuts.elem.NListElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addTrailingComment(net.thevpc.nuts.elem.NElementComment comment)
addTrailingComment in interface net.thevpc.nuts.elem.NElementBuilderaddTrailingComment in interface net.thevpc.nuts.elem.NListElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder addTrailingComments(net.thevpc.nuts.elem.NElementComment... comments)
addTrailingComments in interface net.thevpc.nuts.elem.NElementBuilderaddTrailingComments in interface net.thevpc.nuts.elem.NListElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder removeAnnotation(net.thevpc.nuts.elem.NElementAnnotation annotation)
removeAnnotation in interface net.thevpc.nuts.elem.NElementBuilderremoveAnnotation in interface net.thevpc.nuts.elem.NListElementBuilderremoveAnnotation in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder copyFrom(net.thevpc.nuts.elem.NElementBuilder other)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NListElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder copyFrom(net.thevpc.nuts.elem.NElement other)
copyFrom in interface net.thevpc.nuts.elem.NElementBuildercopyFrom in interface net.thevpc.nuts.elem.NListElementBuildercopyFrom in class AbstractNElementBuilderpublic net.thevpc.nuts.elem.NListElementBuilder metadata(net.thevpc.nuts.elem.NElementMetadata metadata)
metadata in interface net.thevpc.nuts.elem.NElementBuildermetadata in interface net.thevpc.nuts.elem.NListElementBuildermetadata in class AbstractNElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.