Class TsonObjectBuilderImpl
java.lang.Object
net.thevpc.tson.impl.builders.AbstractTsonElementBuilder<TsonObjectBuilder>
net.thevpc.tson.impl.builders.TsonObjectBuilderImpl
- All Implemented Interfaces:
Iterable<TsonElement>, TsonElementBase, TsonElementBuilder, TsonObjectBuilder
public class TsonObjectBuilderImpl
extends AbstractTsonElementBuilder<TsonObjectBuilder>
implements TsonObjectBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(String key, TsonElementBase value) add(TsonElementBase element) ///////////add(TsonElementBase key, TsonElementBase value) addAll(Iterable<? extends TsonElementBase> elements) addAll(TsonElement[] elements) addAll(TsonElementBase[] elements) 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()body()build()clear()content()ensureCapacity(int length) boolean//////////////// argsiterator()merge(TsonElementBase element) ////////////////name()params()intremove(TsonElementBase element) removeAt(int index) removeParam(TsonElementBase element) removeParamAt(int index) set(String key, TsonElementBase value) set(TsonElementBase key, TsonElementBase value) ///////////setAt(int index, TsonElementBase element) setParametrized(boolean parametrized) type()Methods inherited from class AbstractTsonElementBuilder
addAnnotation, addAnnotation, addAnnotations, addAnnotations, anchor, annotation, annotations, clearAnnotations, comments, comments, removeAnnotationAt, setAnnotations, setComments, toArray, toObject, toString, toString, toString, toUpletMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface TsonElementBase
toString, toString, toStringMethods inherited from interface TsonElementBuilder
anchor, annotations, comments, toArray, toObject, toUpletMethods inherited from interface TsonObjectBuilder
addAnnotation, addAnnotation, addAnnotations, addAnnotations, annotation, clearAnnotations, comments, removeAnnotationAt, setAnnotations, setComments
-
Constructor Details
-
TsonObjectBuilderImpl
public TsonObjectBuilderImpl()
-
-
Method Details
-
type
- Specified by:
typein interfaceTsonElementBase- Specified by:
typein interfaceTsonElementBuilder
-
clear
- Specified by:
clearin interfaceTsonObjectBuilder
-
iterator
- Specified by:
iteratorin interfaceIterable<TsonElement>
-
content
- Specified by:
contentin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
body
- Specified by:
bodyin interfaceTsonObjectBuilder
-
clearBody
- Specified by:
clearBodyin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
add
- Specified by:
addin interfaceTsonObjectBuilder
-
set
///////////- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
set
- Specified by:
setin interfaceTsonObjectBuilder
-
add
///////////- Specified by:
addin interfaceTsonObjectBuilder
-
remove
- Specified by:
removein interfaceTsonObjectBuilder
-
remove
- Specified by:
removein interfaceTsonObjectBuilder
-
addAt
- Specified by:
addAtin interfaceTsonObjectBuilder
-
removeAt
- Specified by:
removeAtin interfaceTsonObjectBuilder
-
setAt
- Specified by:
setAtin interfaceTsonObjectBuilder
-
all
- Specified by:
allin interfaceTsonObjectBuilder
-
build
- Specified by:
buildin interfaceTsonElementBase- Specified by:
buildin interfaceTsonElementBuilder- Specified by:
buildin interfaceTsonObjectBuilder
-
addAll
- Specified by:
addAllin interfaceTsonObjectBuilder
-
addAll
- Specified by:
addAllin interfaceTsonObjectBuilder
-
addAll
- Specified by:
addAllin interfaceTsonObjectBuilder
-
iParametrized
public boolean iParametrized()//////////////// args- Specified by:
iParametrizedin interfaceTsonObjectBuilder
-
setParametrized
- Specified by:
setParametrizedin interfaceTsonObjectBuilder
-
params
- Specified by:
paramsin interfaceTsonObjectBuilder
-
paramsCount
public int paramsCount()- Specified by:
paramsCountin interfaceTsonObjectBuilder
-
clearParams
- Specified by:
clearParamsin interfaceTsonObjectBuilder
-
name
- Specified by:
namein interfaceTsonObjectBuilder
-
name
- Specified by:
namein interfaceTsonObjectBuilder
-
addParam
- Specified by:
addParamin interfaceTsonObjectBuilder
-
removeParam
- Specified by:
removeParamin interfaceTsonObjectBuilder
-
addParam
- Specified by:
addParamin interfaceTsonObjectBuilder
-
removeParamAt
- Specified by:
removeParamAtin interfaceTsonObjectBuilder
-
addParams
- Specified by:
addParamsin interfaceTsonObjectBuilder
-
addParams
- Specified by:
addParamsin interfaceTsonObjectBuilder
-
addParams
- Specified by:
addParamsin interfaceTsonObjectBuilder
-
merge
////////////////- Specified by:
mergein interfaceTsonObjectBuilder
-
ensureCapacity
- Specified by:
ensureCapacityin interfaceTsonObjectBuilder
-