Class TsonElementsFactoryImpl
java.lang.Object
net.thevpc.tson.impl.TsonElementsFactoryImpl
- All Implemented Interfaces:
TsonElementsFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharStreamCodeSupportOf(String language) elementsToDocument(TsonElement[] roots) elementToDocument(TsonElement root) format()of()of(boolean value) of(byte value) of(byte[] value) of(char value) of(double value) of(float value) of(int value) of(long value) of(short value) of(InputStream value) of(BigDecimal value) of(BigInteger value) ofAntiQuotedString(String value) ofBigComplex(BigDecimal real, BigDecimal imag) ofBigComplex(BigDecimal real, BigDecimal imag, String unit) ofBigDecimal(BigDecimal value) ofBigDecimal(BigDecimal value, String unit) ofBigInt(BigInteger value) ofBigInt(BigInteger value, TsonNumberLayout layout) ofBigInt(BigInteger value, TsonNumberLayout layout, String unit) ofBinStream(byte[] value) ofBinStream(File value) ofBinStream(InputStream value) ofBinStream(Path value) ofBoolean(boolean val) ofByte(byte value) ofByte(byte value, TsonNumberLayout layout) ofByte(byte value, TsonNumberLayout layout, String unit) ofChar(char value) ofCharStream(char[] value) ofCharStream(char[] value, String type) ofCharStream(File value) ofCharStream(File value, String type) ofCharStream(Reader value) ofCharStream(Reader value, String type) ofCharStream(String value) ofCharStream(String value, String language) ofCharStream(Path value) ofCharStream(Path value, String language) ofDouble(double value) ofDoubleComplex(double real, double imag) ofDoubleComplex(double real, double imag, String unit) ofDoubleQuotedString(String value) ofElement(TsonElementBase value) ofElementBase(TsonElementBase value) ofFloat(float value) ofFloatComplex(float real, float imag) ofFloatComplex(float real, float imag, String unit) ofInt(int value) ofInt(int value, TsonNumberLayout layout) ofInt(int value, TsonNumberLayout layout, String unit) ofLineString(String value) ofLocalDate(Date value) ofLocalDate(LocalDate value) ofLocalDatetime(Instant value) ofLocalDatetime(LocalDateTime value) ofLocalDatetime(Date value) ofLocalTime(Time value) ofLocalTime(LocalTime value) ofLong(long value) ofLong(long value, TsonNumberLayout layout) ofLong(long value, TsonNumberLayout layout, String unit) ofNull()ofNumber(Number value, TsonNumberLayout layout, String unit) ofShort(short value) ofShort(short value, TsonNumberLayout layout) ofShort(short value, TsonNumberLayout layout, String unit) ofSingleQuotedString(String value) ofStopStream(char[] value, String stopWord) ofStopStream(File value, String stopWord) ofStopStream(Reader value, String stopWord) ofStopStream(String value, String stopWord) ofStopStream(Path value, String stopWord) ofString(TsonElementType stringType, String value) ofTripleAntiQuotedString(String value) ofTripleDoubleQuotedString(String value) ofTripleSingleQuotedString(String value) parseAlias(String s) bytedoublefloatparseFloat(String s) intlongparseRegex(String s) shortparseShort(String s) parseString(String value) reader(TsonSerializer serializer) writer(TsonSerializer serializer)
-
Constructor Details
-
TsonElementsFactoryImpl
public TsonElementsFactoryImpl()
-
-
Method Details
-
parseString
- Specified by:
parseStringin interfaceTsonElementsFactory
-
ofDoubleQuotedString
- Specified by:
ofDoubleQuotedStringin interfaceTsonElementsFactory
-
ofSingleQuotedString
- Specified by:
ofSingleQuotedStringin interfaceTsonElementsFactory
-
ofAntiQuotedString
- Specified by:
ofAntiQuotedStringin interfaceTsonElementsFactory
-
ofTripleDoubleQuotedString
- Specified by:
ofTripleDoubleQuotedStringin interfaceTsonElementsFactory
-
ofTripleSingleQuotedString
- Specified by:
ofTripleSingleQuotedStringin interfaceTsonElementsFactory
-
ofTripleAntiQuotedString
- Specified by:
ofTripleAntiQuotedStringin interfaceTsonElementsFactory
-
ofLineString
- Specified by:
ofLineStringin interfaceTsonElementsFactory
-
ofElement
- Specified by:
ofElementin interfaceTsonElementsFactory
-
ofElementBase
- Specified by:
ofElementBasein interfaceTsonElementsFactory
-
ofInstant
- Specified by:
ofInstantin interfaceTsonElementsFactory
-
ofLocalDatetime
- Specified by:
ofLocalDatetimein interfaceTsonElementsFactory
-
ofLocalDatetime
- Specified by:
ofLocalDatetimein interfaceTsonElementsFactory
-
ofLocalDatetime
- Specified by:
ofLocalDatetimein interfaceTsonElementsFactory
-
ofLocalDate
- Specified by:
ofLocalDatein interfaceTsonElementsFactory
-
ofLocalTime
- Specified by:
ofLocalTimein interfaceTsonElementsFactory
-
ofLocalTime
- Specified by:
ofLocalTimein interfaceTsonElementsFactory
-
ofLocalDate
- Specified by:
ofLocalDatein interfaceTsonElementsFactory
-
ofRegex
- Specified by:
ofRegexin interfaceTsonElementsFactory
-
ofRegex
- Specified by:
ofRegexin interfaceTsonElementsFactory
-
ofChar
- Specified by:
ofCharin interfaceTsonElementsFactory
-
ofInt
- Specified by:
ofIntin interfaceTsonElementsFactory
-
ofInt
- Specified by:
ofIntin interfaceTsonElementsFactory
-
ofInt
- Specified by:
ofIntin interfaceTsonElementsFactory
-
ofNumber
- Specified by:
ofNumberin interfaceTsonElementsFactory
-
ofLong
- Specified by:
ofLongin interfaceTsonElementsFactory
-
ofLong
- Specified by:
ofLongin interfaceTsonElementsFactory
-
ofLong
- Specified by:
ofLongin interfaceTsonElementsFactory
-
ofByte
- Specified by:
ofBytein interfaceTsonElementsFactory
-
ofByte
- Specified by:
ofBytein interfaceTsonElementsFactory
-
ofByte
- Specified by:
ofBytein interfaceTsonElementsFactory
-
ofShort
- Specified by:
ofShortin interfaceTsonElementsFactory
-
ofShort
- Specified by:
ofShortin interfaceTsonElementsFactory
-
ofShort
- Specified by:
ofShortin interfaceTsonElementsFactory
-
ofFloat
- Specified by:
ofFloatin interfaceTsonElementsFactory
-
ofFloat
- Specified by:
ofFloatin interfaceTsonElementsFactory
-
ofBigInt
- Specified by:
ofBigIntin interfaceTsonElementsFactory
-
ofBigInt
- Specified by:
ofBigIntin interfaceTsonElementsFactory
-
ofBigInt
- Specified by:
ofBigIntin interfaceTsonElementsFactory
-
ofBigDecimal
- Specified by:
ofBigDecimalin interfaceTsonElementsFactory
-
ofBigDecimal
- Specified by:
ofBigDecimalin interfaceTsonElementsFactory
-
ofBigComplex
- Specified by:
ofBigComplexin interfaceTsonElementsFactory
-
ofBigComplex
- Specified by:
ofBigComplexin interfaceTsonElementsFactory
-
ofFloatComplex
- Specified by:
ofFloatComplexin interfaceTsonElementsFactory
-
ofFloatComplex
- Specified by:
ofFloatComplexin interfaceTsonElementsFactory
-
ofDoubleComplex
- Specified by:
ofDoubleComplexin interfaceTsonElementsFactory
-
ofDoubleComplex
- Specified by:
ofDoubleComplexin interfaceTsonElementsFactory
-
ofDouble
- Specified by:
ofDoublein interfaceTsonElementsFactory
-
ofDouble
- Specified by:
ofDoublein interfaceTsonElementsFactory
-
ofName
- Specified by:
ofNamein interfaceTsonElementsFactory
-
ofAlias
- Specified by:
ofAliasin interfaceTsonElementsFactory
-
ofOpBuilder
- Specified by:
ofOpBuilderin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
ofBinStream
- Specified by:
ofBinStreamin interfaceTsonElementsFactory
-
ofBinStream
- Specified by:
ofBinStreamin interfaceTsonElementsFactory
-
ofBinStream
- Specified by:
ofBinStreamin interfaceTsonElementsFactory
-
ofBinStream
- Specified by:
ofBinStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofCharStream
- Specified by:
ofCharStreamin interfaceTsonElementsFactory
-
ofStopStream
- Specified by:
ofStopStreamin interfaceTsonElementsFactory
-
ofStopStream
- Specified by:
ofStopStreamin interfaceTsonElementsFactory
-
ofStopStream
- Specified by:
ofStopStreamin interfaceTsonElementsFactory
-
ofStopStream
- Specified by:
ofStopStreamin interfaceTsonElementsFactory
-
ofStopStream
- Specified by:
ofStopStreamin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
ofArrayBuilder
- Specified by:
ofArrayBuilderin interfaceTsonElementsFactory
-
ofMatrixBuilder
- Specified by:
ofMatrixBuilderin interfaceTsonElementsFactory
-
ofPairBuilder
- Specified by:
ofPairBuilderin interfaceTsonElementsFactory
-
ofObjBuilder
- Specified by:
ofObjBuilderin interfaceTsonElementsFactory
-
ofUpletBuilder
- Specified by:
ofUpletBuilderin interfaceTsonElementsFactory
-
ofAnnotationBuilder
- Specified by:
ofAnnotationBuilderin interfaceTsonElementsFactory
-
format
- Specified by:
formatin interfaceTsonElementsFactory
-
writer
- Specified by:
writerin interfaceTsonElementsFactory
-
serializer
- Specified by:
serializerin interfaceTsonElementsFactory
-
reader
- Specified by:
readerin interfaceTsonElementsFactory
-
ofDocument
- Specified by:
ofDocumentin interfaceTsonElementsFactory
-
ofDocumentHeader
- Specified by:
ofDocumentHeaderin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
of
- Specified by:
ofin interfaceTsonElementsFactory
-
ofNull
- Specified by:
ofNullin interfaceTsonElementsFactory
-
ofString
- Specified by:
ofStringin interfaceTsonElementsFactory
-
ofBoolean
- Specified by:
ofBooleanin interfaceTsonElementsFactory
-
processor
- Specified by:
processorin interfaceTsonElementsFactory
-
ofBinStreamBuilder
- Specified by:
ofBinStreamBuilderin interfaceTsonElementsFactory
-
parseLocalDateTime
- Specified by:
parseLocalDateTimein interfaceTsonElementsFactory
-
parseInstant
- Specified by:
parseInstantin interfaceTsonElementsFactory
-
parseLocalDate
- Specified by:
parseLocalDatein interfaceTsonElementsFactory
-
parseLocalTime
- Specified by:
parseLocalTimein interfaceTsonElementsFactory
-
parseRegex
- Specified by:
parseRegexin interfaceTsonElementsFactory
-
parseDateTime
-
parseDate
-
parseTime
-
parseRegexPattern
-
parseByte
-
parseShort
-
parseLong
-
parseInt
-
parseFloat
-
parseDouble
-
parseChar
- Specified by:
parseCharin interfaceTsonElementsFactory
-
parseAlias
- Specified by:
parseAliasin interfaceTsonElementsFactory
-
parseStringOld
-
elementsToDocument
-
elementToDocument
-
charStreamCodeSupportOf
- Specified by:
charStreamCodeSupportOfin interfaceTsonElementsFactory
-
ofCustom
- Specified by:
ofCustomin interfaceTsonElementsFactory
-
ofPrimitiveBuilder
- Specified by:
ofPrimitiveBuilderin interfaceTsonElementsFactory
-
parseComments
- Specified by:
parseCommentsin interfaceTsonElementsFactory
-
escapeSingleLineComments
-
escapeMultiLineComments
-
parseNaNElem
-
parsePosInfElem
-
parseNegInfElem
-
parsePosBoundElem
-
parseNegBoundElem
-
parseNumber
- Specified by:
parseNumberin interfaceTsonElementsFactory
-