Interface TsonElementBuilder
- All Superinterfaces:
TsonElementBase
- All Known Subinterfaces:
TsonArrayBuilder, TsonCustomBuilder, TsonMatrixBuilder, TsonObjectBuilder, TsonOpBuilder, TsonPairBuilder, TsonPrimitiveBuilder, TsonUpletBuilder
-
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()comments(TsonComments comments) removeAnnotationAt(int index) setAnnotations(TsonAnnotation... annotations) setComments(TsonComments comments) toArray()toObject()toUplet()type()Methods inherited from interface TsonElementBase
toString, toString, toString
-
Method Details
-
comments
-
setComments
-
setAnnotations
-
addAnnotations
-
addAnnotations
-
anchor
-
annotation
-
addAnnotation
-
addAnnotation
-
removeAnnotationAt
-
clearAnnotations
TsonElementBuilder clearAnnotations() -
build
TsonElement build()- Specified by:
buildin interfaceTsonElementBase
-
toArray
TsonArrayBuilder toArray() -
toObject
TsonObjectBuilder toObject() -
toUplet
TsonUpletBuilder toUplet() -
type
TsonElementType type()- Specified by:
typein interfaceTsonElementBase
-
comments
TsonComments comments() -
annotations
List<TsonAnnotation> annotations()
-