Class CustomTsonObjectDeserializerImpl<T>
java.lang.Object
net.thevpc.tson.impl.marshall.CustomTsonObjectDeserializerImpl<T>
- All Implemented Interfaces:
TsonCustomDeserializer<T>, TsonElementToObject<T>
public class CustomTsonObjectDeserializerImpl<T>
extends Object
implements TsonCustomDeserializer<T>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface TsonCustomDeserializer
TsonCustomDeserializer.FactoryConfigurerContext<T2>, TsonCustomDeserializer.FieldConfig<T>, TsonCustomDeserializer.FieldConfigurerContext<T2>, TsonCustomDeserializer.InstanceConfigurer<T2>, TsonCustomDeserializer.InstanceConfigurerContext<T2>, TsonCustomDeserializer.InstanceFactory<T2>, TsonCustomDeserializer.MissingFieldConfigurer<T2> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultValueByType(Type type) booleanhasDefaultValueByType(Type type) booleanisCollectionType0(Type raw) setContainerIsCollection(boolean value) setDefaultValueByType(Type type, Object defaultValue) setInstanceFactory(TsonCustomDeserializer.InstanceFactory<T> instanceFactory) setWrapCollections(boolean wrapCollections) toObject(TsonElement element, Class<T> to, TsonObjectContext context)
-
Constructor Details
-
CustomTsonObjectDeserializerImpl
-
-
Method Details
-
configureLenient
- Specified by:
configureLenientin interfaceTsonCustomDeserializer<T>
-
setWrapCollections
- Specified by:
setWrapCollectionsin interfaceTsonCustomDeserializer<T>
-
setContainerIsCollection
- Specified by:
setContainerIsCollectionin interfaceTsonCustomDeserializer<T>
-
hasDefaultValueByType
-
getDefaultValueByType
-
setTrueDefault
- Specified by:
setTrueDefaultin interfaceTsonCustomDeserializer<T>
-
setInstanceFactory
public TsonCustomDeserializer<T> setInstanceFactory(TsonCustomDeserializer.InstanceFactory<T> instanceFactory) - Specified by:
setInstanceFactoryin interfaceTsonCustomDeserializer<T>
-
setDefaultValueByType
- Specified by:
setDefaultValueByTypein interfaceTsonCustomDeserializer<T>
-
addAllFields
- Specified by:
addAllFieldsin interfaceTsonCustomDeserializer<T>
-
addFields
- Specified by:
addFieldsin interfaceTsonCustomDeserializer<T>
-
onUnsupportedBody
public TsonCustomDeserializer<T> onUnsupportedBody(TsonCustomDeserializer.MissingFieldConfigurer<T> a) - Specified by:
onUnsupportedBodyin interfaceTsonCustomDeserializer<T>
-
onUnsupportedArg
public TsonCustomDeserializer<T> onUnsupportedArg(TsonCustomDeserializer.MissingFieldConfigurer<T> a) - Specified by:
onUnsupportedArgin interfaceTsonCustomDeserializer<T>
-
postProcess
- Specified by:
postProcessin interfaceTsonCustomDeserializer<T>
-
addField
- Specified by:
addFieldin interfaceTsonCustomDeserializer<T>
-
toObject
- Specified by:
toObjectin interfaceTsonElementToObject<T>
-
isCollectionType0
-