public interface TsonElementBuilder extends TsonElementBase
| Modifier and Type | Method and Description |
|---|---|
TsonElementBuilder |
addAnnotation(String name,
TsonElementBase... elements) |
TsonElementBuilder |
addAnnotation(TsonAnnotation annotation) |
TsonElementBuilder |
addAnnotations(Collection<TsonAnnotation> annotations) |
TsonElementBuilder |
addAnnotations(TsonAnnotation... annotations) |
TsonElementBuilder |
anchor(String name) |
TsonElementBuilder |
annotation(String name,
TsonElementBase... elements) |
TsonElement |
build() |
TsonElementBuilder |
comments(TsonComments comments) |
TsonAnnotation[] |
getAnnotations() |
TsonComments |
getComments() |
TsonElementBuilder |
removeAllAnnotations() |
TsonElementBuilder |
removeAnnotationAt(int index) |
TsonElementBuilder |
setAnnotations(TsonAnnotation... annotations) |
TsonElementBuilder |
setComments(TsonComments comments) |
TsonArrayBuilder |
toArray() |
TsonFunctionBuilder |
toFunction() |
TsonObjectBuilder |
toObject() |
TsonUpletBuilder |
toUplet() |
TsonElementType |
type() |
of, toString, toString, toStringTsonElementBuilder comments(TsonComments comments)
TsonElementBuilder setComments(TsonComments comments)
TsonElementBuilder setAnnotations(TsonAnnotation... annotations)
TsonElementBuilder addAnnotations(TsonAnnotation... annotations)
TsonElementBuilder addAnnotations(Collection<TsonAnnotation> annotations)
TsonElementBuilder anchor(String name)
TsonElementBuilder annotation(String name, TsonElementBase... elements)
TsonElementBuilder addAnnotation(String name, TsonElementBase... elements)
TsonElementBuilder addAnnotation(TsonAnnotation annotation)
TsonElementBuilder removeAnnotationAt(int index)
TsonElementBuilder removeAllAnnotations()
TsonElement build()
build in interface TsonElementBaseTsonArrayBuilder toArray()
TsonObjectBuilder toObject()
TsonUpletBuilder toUplet()
TsonFunctionBuilder toFunction()
TsonElementType type()
type in interface TsonElementBaseTsonComments getComments()
TsonAnnotation[] getAnnotations()
Copyright © 2024 vpc open source initiative. All rights reserved.