Interface TsonObjectBuilder
- All Superinterfaces:
Iterable<TsonElement>, TsonElementBase, TsonElementBuilder
-
Method Summary
Modifier and TypeMethodDescriptionadd(String key, TsonElementBase value) add(TsonElementBase element) add(TsonElementBase key, TsonElementBase value) addAll(Iterable<? extends TsonElementBase> element) addAll(TsonElement... element) addAll(TsonElementBase... element) addAnnotation(String name, TsonElementBase... elements) addAnnotation(TsonAnnotation annotation) addAnnotations(Collection<TsonAnnotation> annotations) addAnnotations(TsonAnnotation... annotations) addAt(int index, TsonElementBase element) addParam(TsonElementBase element) addParam(TsonElementBase element, int index) addParams(Iterable<? extends TsonElementBase> element) addParams(TsonElement[] element) addParams(TsonElementBase[] element) all()annotation(String name, TsonElementBase... elements) body()build()clear()comments(TsonComments comments) /////////////////////////////////////////////content()ensureCapacity(int length) booleanmerge(TsonElementBase element) name()params()intremove(TsonElementBase element) removeAnnotationAt(int index) removeAt(int index) removeParam(TsonElementBase element) removeParamAt(int index) set(String key, TsonElementBase value) set(TsonElementBase key, TsonElementBase value) setAnnotations(TsonAnnotation... annotations) setAt(int index, TsonElementBase element) setComments(TsonComments comments) setParametrized(boolean parametrized) Methods inherited from interface Iterable
forEach, iterator, spliteratorMethods inherited from interface TsonElementBase
toString, toString, toStringMethods inherited from interface TsonElementBuilder
anchor, annotations, comments, toArray, toObject, toUplet, type
-
Method Details
-
clear
TsonObjectBuilder clear() -
body
List<TsonElement> body() -
clearBody
TsonObjectBuilder clearBody() -
content
TsonElementBaseListBuilder content() -
iParametrized
boolean iParametrized() -
setParametrized
-
params
List<TsonElement> params() -
paramsCount
int paramsCount() -
clearParams
TsonObjectBuilder clearParams() -
name
String name() -
name
-
addParam
-
removeParam
-
addParam
-
removeParamAt
-
addParams
-
addParams
-
addParams
-
merge
-
addAll
-
addAll
-
addAll
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
add
-
addAt
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
setAt
-
remove
-
removeAt
-
all
List<TsonElement> all() -
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
TsonObjectBuilder clearAnnotations()- Specified by:
clearAnnotationsin interfaceTsonElementBuilder
-
remove
-
ensureCapacity
-
build
TsonObject build()- Specified by:
buildin interfaceTsonElementBase- Specified by:
buildin interfaceTsonElementBuilder
-