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) |
T |
comments(TsonComments comments) |
TsonAnnotation[] |
getAnnotations() |
TsonComments |
getComments() |
T |
removeAllAnnotations() |
T |
removeAnnotationAt(int index) |
T |
setAnnotations(TsonAnnotation[] annotations) |
T |
setComments(TsonComments comments) |
TsonArrayBuilder |
toArray() |
TsonFunctionBuilder |
toFunction() |
TsonObjectBuilder |
toObject() |
String |
toString() |
String |
toString(boolean compact) |
String |
toString(TsonFormat format) |
TsonUpletBuilder |
toUplet() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, typeofpublic TsonComments getComments()
getComments in interface TsonElementBuilderpublic TsonAnnotation[] getAnnotations()
getAnnotations 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 removeAllAnnotations()
removeAllAnnotations in interface TsonElementBuilderpublic TsonArrayBuilder toArray()
toArray in interface TsonElementBuilderpublic TsonObjectBuilder toObject()
toObject in interface TsonElementBuilderpublic TsonUpletBuilder toUplet()
toUplet in interface TsonElementBuilderpublic TsonFunctionBuilder toFunction()
toFunction in interface TsonElementBuilderpublic TsonElementBuilder anchor(String name)
anchor in interface TsonElementBuilderCopyright © 2024 vpc open source initiative. All rights reserved.