Class AbstractTsonElementBuilder<T extends TsonElementBuilder>
java.lang.Object
net.thevpc.tson.impl.builders.AbstractTsonElementBuilder<T>
- All Implemented Interfaces:
TsonElementBase, TsonElementBuilder
- Direct Known Subclasses:
TsonArrayBuilderImpl, TsonCustomElementBuilderImpl, TsonMatrixBuilderImpl, TsonObjectBuilderImpl, TsonOpBuilderImpl, TsonPairBuilderImpl, TsonPrimitiveElementBuilderImpl, TsonUpletBuilderImpl
public abstract class AbstractTsonElementBuilder<T extends TsonElementBuilder>
extends Object
implements TsonElementBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(String name, TsonElementBase... elements) addAnnotation(TsonAnnotation annotation) addAnnotations(Collection<TsonAnnotation> annotations) addAnnotations(TsonAnnotation... annotations) annotation(String name, TsonElementBase... elements) comments()comments(TsonComments comments) removeAnnotationAt(int index) setAnnotations(TsonAnnotation[] annotations) setComments(TsonComments comments) toArray()toObject()toString()toString(boolean compact) toString(TsonFormat format) toUplet()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface TsonElementBuilder
build, type
-
Constructor Details
-
AbstractTsonElementBuilder
public AbstractTsonElementBuilder()
-
-
Method Details
-
comments
- Specified by:
commentsin interfaceTsonElementBuilder
-
annotations
- Specified by:
annotationsin interfaceTsonElementBuilder
-
setComments
- Specified by:
setCommentsin interfaceTsonElementBuilder
-
setAnnotations
- Specified by:
setAnnotationsin interfaceTsonElementBuilder
-
addAnnotations
- Specified by:
addAnnotationsin interfaceTsonElementBuilder
-
addAnnotations
- Specified by:
addAnnotationsin interfaceTsonElementBuilder
-
addAnnotation
- Specified by:
addAnnotationin interfaceTsonElementBuilder
-
addAnnotation
- Specified by:
addAnnotationin interfaceTsonElementBuilder
-
removeAnnotationAt
- Specified by:
removeAnnotationAtin interfaceTsonElementBuilder
-
annotation
- Specified by:
annotationin interfaceTsonElementBuilder
-
comments
- Specified by:
commentsin interfaceTsonElementBuilder
-
toString
- Specified by:
toStringin interfaceTsonElementBase- Overrides:
toStringin classObject
-
toString
- Specified by:
toStringin interfaceTsonElementBase
-
toString
- Specified by:
toStringin interfaceTsonElementBase
-
clearAnnotations
- Specified by:
clearAnnotationsin interfaceTsonElementBuilder
-
toArray
- Specified by:
toArrayin interfaceTsonElementBuilder
-
toObject
- Specified by:
toObjectin interfaceTsonElementBuilder
-
toUplet
- Specified by:
toUpletin interfaceTsonElementBuilder
-
anchor
- Specified by:
anchorin interfaceTsonElementBuilder
-