Interface TsonPrimitiveBuilder
- 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) /////////////////////////////////////////////copyFrom(TsonElementBase element) booleanbytegetByte()chargetChar()doublefloatgetFloat()intgetInt()longgetLong()getRegex()shortgetShort()removeAnnotationAt(int index) set(boolean value) set(byte value) set(byte[] value) set(char value) set(double value) set(float value) set(int value) set(long value) set(short value) set(InputStream value) setAnnotations(TsonAnnotation... annotations) setComments(TsonComments comments) setNull()setStopStream(File value, String stopWord) setStopWordStream(Path value, String stopWord) value()Methods inherited from interface TsonElementBase
toString, toString, toStringMethods inherited from interface TsonElementBuilder
anchor, annotations, comments, toArray, toObject, toUplet, type
-
Method Details
-
value
TsonElement value() -
copyFrom
-
setNull
TsonPrimitiveBuilder setNull() -
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
setName
-
setAlias
-
setRegex
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
getBoolean
boolean getBoolean() -
getChar
char getChar() -
getByte
byte getByte() -
getShort
short getShort() -
getInt
int getInt() -
getLong
long getLong() -
getFloat
float getFloat() -
getDouble
double getDouble() -
setBinary
-
setBinary
-
setCode
-
setCode
-
setStopStream
-
setStopWordStream
-
getBooleanObject
Boolean getBooleanObject() -
getCharObject
Character getCharObject() -
getByteObject
Byte getByteObject() -
getShortObject
Short getShortObject() -
getIntObject
Integer getIntObject() -
getLongObject
Long getLongObject() -
getFloatObject
Float getFloatObject() -
getDoubleObject
Double getDoubleObject() -
getString
String getString() -
getLocalDate
LocalDate getLocalDate() -
getLocalDateTime
LocalDateTime getLocalDateTime() -
getLocalTime
LocalTime getLocalTime() -
getRegex
Pattern getRegex() -
build
TsonElement build()- Specified by:
buildin interfaceTsonElementBase- Specified by:
buildin interfaceTsonElementBuilder
-
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
TsonPrimitiveBuilder clearAnnotations()- Specified by:
clearAnnotationsin interfaceTsonElementBuilder
-