public abstract class AbstractTsonElementBuilder<T extends TsonElementBuilder> extends Object implements TsonElementBuilder
| Constructor and Description |
|---|
AbstractTsonElementBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
addAnnotation(String name,
TsonElementBase... elements) |
T |
addAnnotation(TsonAnnotation annotation) |
T |
addAnnotations(Collection<TsonAnnotation> annotations) |
T |
addAnnotations(TsonAnnotation... annotations) |
TsonElementBuilder |
anchor(String name) |
T |
annotation(String name,
TsonElementBase... elements) |
List<TsonAnnotation> |
annotations() |
T |
clearAnnotations() |
TsonComments |
comments() |
T |
comments(TsonComments comments) |
T |
removeAnnotationAt(int index) |
T |
setAnnotations(TsonAnnotation[] annotations) |
T |
setComments(TsonComments comments) |
TsonArrayBuilder |
toArray() |
TsonObjectBuilder |
toObject() |
String |
toString() |
String |
toString(boolean compact) |
String |
toString(TsonFormat format) |
TsonUpletBuilder |
toUplet() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, typepublic TsonComments comments()
comments in interface TsonElementBuilderpublic List<TsonAnnotation> annotations()
annotations in interface TsonElementBuilderpublic T setComments(TsonComments comments)
setComments in interface TsonElementBuilderpublic T setAnnotations(TsonAnnotation[] annotations)
setAnnotations in interface TsonElementBuilderpublic T addAnnotations(TsonAnnotation... annotations)
addAnnotations in interface TsonElementBuilderpublic T addAnnotations(Collection<TsonAnnotation> annotations)
addAnnotations in interface TsonElementBuilderpublic T addAnnotation(TsonAnnotation annotation)
addAnnotation in interface TsonElementBuilderpublic T addAnnotation(String name, TsonElementBase... elements)
addAnnotation in interface TsonElementBuilderpublic T removeAnnotationAt(int index)
removeAnnotationAt in interface TsonElementBuilderpublic T annotation(String name, TsonElementBase... elements)
annotation in interface TsonElementBuilderpublic T comments(TsonComments comments)
comments in interface TsonElementBuilderpublic String toString()
toString in interface TsonElementBasetoString in class Objectpublic String toString(boolean compact)
toString in interface TsonElementBasepublic String toString(TsonFormat format)
toString in interface TsonElementBasepublic T clearAnnotations()
clearAnnotations in interface TsonElementBuilderpublic TsonArrayBuilder toArray()
toArray in interface TsonElementBuilderpublic TsonObjectBuilder toObject()
toObject in interface TsonElementBuilderpublic TsonUpletBuilder toUplet()
toUplet in interface TsonElementBuilderpublic TsonElementBuilder anchor(String name)
anchor in interface TsonElementBuilderCopyright © 2025 vpc open source initiative. All rights reserved.