Interface TsonPairBuilder
- All Superinterfaces:
TsonElementBase, TsonElementBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(String name, TsonElementBase... elements) addAnnotation(TsonAnnotation annotation) addAnnotations(Collection<TsonAnnotation> annotations) addAnnotations(TsonAnnotation... annotations) annotation(String name, TsonElementBase... elements) build()comments(TsonComments comments) /////////////////////////////////////////////key()key(TsonElementBase key) removeAnnotationAt(int index) reset()setAnnotations(TsonAnnotation... annotations) setComments(TsonComments comments) value()value(TsonElementBase value) Methods inherited from interface TsonElementBase
toString, toString, toStringMethods inherited from interface TsonElementBuilder
anchor, annotations, comments, toArray, toObject, toUplet, type
-
Method Details
-
merge
-
reset
TsonPairBuilder reset() -
key
TsonElement key() -
key
-
value
TsonElement value() -
value
-
comments
/////////////////////////////////////////////- Specified by:
commentsin interfaceTsonElementBuilder
-
setComments
- Specified by:
setCommentsin interfaceTsonElementBuilder
-
setAnnotations
- Specified by:
setAnnotationsin interfaceTsonElementBuilder
-
addAnnotations
- Specified by:
addAnnotationsin interfaceTsonElementBuilder
-
addAnnotations
- Specified by:
addAnnotationsin interfaceTsonElementBuilder
-
annotation
- Specified by:
annotationin interfaceTsonElementBuilder
-
addAnnotation
- Specified by:
addAnnotationin interfaceTsonElementBuilder
-
addAnnotation
- Specified by:
addAnnotationin interfaceTsonElementBuilder
-
removeAnnotationAt
- Specified by:
removeAnnotationAtin interfaceTsonElementBuilder
-
clearAnnotations
TsonPairBuilder clearAnnotations()- Specified by:
clearAnnotationsin interfaceTsonElementBuilder
-
build
TsonPair build()- Specified by:
buildin interfaceTsonElementBase- Specified by:
buildin interfaceTsonElementBuilder
-