public class DefaultNUpletElementBuilder extends AbstractNElementBuilder implements NUpletElementBuilder
| Constructor and Description |
|---|
DefaultNUpletElementBuilder() |
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, waitofaddNewLineAffix, addNewLineAffix, addSeparatorAffix, addSeparatorAffix, addSpaceAffix, addSpaceAffix, affixes, annotations, comments, diagnostics, isCustomTree, leadingComments, metadata, removeAffix, removeAffix, removeAffixIf, trailingCommentspublic NUpletElementBuilder doWith(Consumer<NUpletElementBuilder> con)
doWith in interface NUpletElementBuilderpublic NOptional<String> name()
name in interface NUpletElementBuilderpublic NUpletElementBuilder name(String name)
name in interface NUpletElementBuilderpublic NUpletElementBuilder addAt(int index, NElement arg)
public NUpletElementBuilder removeAt(int index)
removeAt in interface NUpletElementBuilderpublic List<NElement> params()
params in interface NUpletElementBuilderpublic NUpletElementBuilder setParams(List<NElement> params)
setParams in interface NUpletElementBuilderpublic int size()
size in interface NUpletElementBuilderpublic NOptional<NElement> get(int index)
get in interface NUpletElementBuilderpublic NUpletElementBuilder copyFrom(NUpletElement value)
copyFrom in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(NElement[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(Collection<NElement> value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder add(NElement value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder setAt(int index, NElement element)
setAt in interface NUpletElementBuilderpublic NUpletElementBuilder clear()
clear in interface NUpletElementBuilderpublic NUpletElementBuilder clearParams()
clearParams in interface NUpletElementBuilderpublic NUpletElementBuilder remove(int index)
remove in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(String[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(int[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(double[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(long[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(float[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(boolean[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(char[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(byte[] value)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder add(int value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(long value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(double value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(float value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(byte value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(boolean value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(char value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(Number value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(String value)
add in interface NUpletElementBuilderpublic NUpletElement build()
build in interface NElementBuilderbuild in interface NUpletElementBuilderpublic NElementType type()
type in interface NElementBuilderpublic NUpletElementBuilder add(String name, NElement value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(String name, Number value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(NElement name, NElement value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder set(NElement name, NElement value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(String name, NElement value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(String name, boolean value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(String name, int value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(String name, double value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(String name, String value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(NElement name, boolean value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(NElement name, int value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(NElement name, double value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(NElement name, String value)
set in interface NUpletElementBuilderpublic NUpletElementBuilder set(NPairElement entry)
set in interface NUpletElementBuilderpublic NUpletElementBuilder add(String name, boolean value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(String name, int value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(String name, double value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder add(String name, String value)
add in interface NUpletElementBuilderpublic NUpletElementBuilder addAll(Map<NElement,NElement> other)
addAll in interface NUpletElementBuilderpublic NUpletElementBuilder copyFrom(NElementBuilder other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuildercopyFrom in interface NUpletElementBuildercopyFrom in class AbstractNElementBuilderpublic NUpletElementBuilder copyFrom(NElement other, NAssignmentPolicy assignmentPolicy)
copyFrom in interface NElementBuildercopyFrom in interface NUpletElementBuildercopyFrom in class AbstractNElementBuilderpublic NUpletElementBuilder addAnnotations(List<NElementAnnotation> annotations)
addAnnotations in interface NElementBuilderaddAnnotations in interface NUpletElementBuilderaddAnnotations in class AbstractNElementBuilderpublic NUpletElementBuilder addAnnotation(String name, NElement... args)
addAnnotation in interface NElementBuilderaddAnnotation in interface NUpletElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NUpletElementBuilder addAnnotation(NElementAnnotation annotation)
addAnnotation in interface NElementBuilderaddAnnotation in interface NUpletElementBuilderaddAnnotation in class AbstractNElementBuilderpublic NUpletElementBuilder addAffixAt(int index, NBoundAffix affix)
addAffixAt in interface NElementBuilderaddAffixAt in interface NUpletElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NUpletElementBuilder removeAffix(int affix)
removeAffix in interface NElementBuilderremoveAffix in interface NUpletElementBuilderremoveAffix in class AbstractNElementBuilderpublic NUpletElementBuilder clearAnnotations()
clearAnnotations in interface NElementBuilderclearAnnotations in interface NUpletElementBuilderclearAnnotations in class AbstractNElementBuilderpublic NUpletElementBuilder clearAffixes()
clearAffixes in interface NElementBuilderclearAffixes in interface NUpletElementBuilderclearAffixes in class AbstractNElementBuilderpublic NUpletElementBuilder clearComments()
clearComments in interface NElementBuilderclearComments in interface NUpletElementBuilderclearComments in class AbstractNElementBuilderpublic NUpletElementBuilder setAffixAt(int index, NBoundAffix affix)
setAffixAt in interface NElementBuildersetAffixAt in interface NUpletElementBuildersetAffixAt in class AbstractNElementBuilderpublic NUpletElementBuilder setAffixes(List<NBoundAffix> affixes)
setAffixes in interface NElementBuildersetAffixes in interface NUpletElementBuildersetAffixes in class AbstractNElementBuilderpublic NUpletElementBuilder addAffix(NBoundAffix affix)
addAffix in interface NElementBuilderaddAffix in interface NUpletElementBuilderaddAffix in class AbstractNElementBuilderpublic NUpletElementBuilder addAffixAt(int index, NAffix affix, NAffixAnchor anchor)
addAffixAt in interface NElementBuilderaddAffixAt in interface NUpletElementBuilderaddAffixAt in class AbstractNElementBuilderpublic NUpletElementBuilder setAffixAt(int index, NAffix affix, NAffixAnchor anchor)
setAffixAt in interface NElementBuildersetAffixAt in interface NUpletElementBuildersetAffixAt in class AbstractNElementBuilderpublic NUpletElementBuilder removeDiagnostic(NElementDiagnostic error)
removeDiagnostic in interface NElementBuilderremoveDiagnostic in interface NUpletElementBuilderremoveDiagnostic in class AbstractNElementBuilderpublic NUpletElementBuilder addAffixes(List<NBoundAffix> affixes)
addAffixes in interface NElementBuilderaddAffixes in interface NUpletElementBuilderaddAffixes in class AbstractNElementBuilderpublic NUpletElementBuilder addDiagnostic(NElementDiagnostic error)
addDiagnostic in interface NElementBuilderaddDiagnostic in interface NUpletElementBuilderaddDiagnostic in class AbstractNElementBuilderpublic NUpletElementBuilder addAffixes(List<? extends NAffix> affixes, NAffixAnchor anchor)
addAffixes in class AbstractNElementBuilderpublic NUpletElementBuilder addAffix(NAffix affix, NAffixAnchor anchor)
addAffix in interface NElementBuilderaddAffix in class AbstractNElementBuilderpublic NUpletElementBuilder removeAffixes(NAffixType type, NAffixAnchor anchor)
removeAffixes in interface NElementBuilderremoveAffixes in interface NUpletElementBuilderremoveAffixes in class AbstractNElementBuilderpublic NUpletElementBuilder addLeadingComment(NElementComment comment)
addLeadingComment in interface NElementBuilderaddLeadingComment in interface NUpletElementBuilderaddLeadingComment in class AbstractNElementBuilderpublic NUpletElementBuilder addLeadingComments(NElementComment... comments)
addLeadingComments in interface NElementBuilderaddLeadingComments in interface NUpletElementBuilderaddLeadingComments in class AbstractNElementBuilderpublic NUpletElementBuilder addTrailingComment(NElementComment comment)
addTrailingComment in interface NElementBuilderaddTrailingComment in interface NUpletElementBuilderaddTrailingComment in class AbstractNElementBuilderpublic NUpletElementBuilder addTrailingComments(NElementComment... comments)
addTrailingComments in interface NElementBuilderaddTrailingComments in interface NUpletElementBuilderaddTrailingComments in class AbstractNElementBuilderpublic NUpletElementBuilder removeAnnotation(NElementAnnotation annotation)
removeAnnotation in interface NElementBuilderremoveAnnotation in interface NUpletElementBuilderremoveAnnotation in class AbstractNElementBuilderpublic NUpletElementBuilder copyFrom(NElementBuilder other)
copyFrom in interface NElementBuildercopyFrom in interface NUpletElementBuildercopyFrom in class AbstractNElementBuilderpublic NUpletElementBuilder copyFrom(NElement other)
copyFrom in interface NElementBuildercopyFrom in interface NUpletElementBuildercopyFrom in class AbstractNElementBuilderpublic NUpletElementBuilder metadata(NElementMetadata metadata)
metadata in interface NElementBuildermetadata in interface NUpletElementBuildermetadata in class AbstractNElementBuilderCopyright © 2026 vpc open source initiative. All rights reserved.