Class TransformDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.jsontype.TypeDeserializer
-
- com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase
-
- com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer
-
- com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer
-
- com.syntifi.casper.sdk.jackson.deserializer.AbstractAnyOfDeserializer
-
- com.syntifi.casper.sdk.jackson.deserializer.TransformDeserializer
-
- All Implemented Interfaces:
java.io.Serializable
public class TransformDeserializer extends AbstractAnyOfDeserializer
Core Deserializer for the CLValue property. This deserializer is used by theCLValueResolver
to return the correct CLType object in Java depending on the cl_type sent over json- Since:
- 0.0.1
- See Also:
AbstractCLValue
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransformDeserializer(com.fasterxml.jackson.databind.JavaType bt, com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes, java.lang.String typePropertyName, boolean typeIdVisible, com.fasterxml.jackson.databind.JavaType defaultImpl)
TransformDeserializer(com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer src, com.fasterxml.jackson.databind.BeanProperty property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.jsontype.TypeDeserializer
forProperty(com.fasterxml.jackson.databind.BeanProperty prop)
protected java.lang.Class<?>
getClassByName(java.lang.String anyOfType)
Method that returns the instance of the found type-
Methods inherited from class com.syntifi.casper.sdk.jackson.deserializer.AbstractAnyOfDeserializer
deserializeTypedFromObject, getTypeNode
-
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer
_deserializeTypedForId, _deserializeTypedUsingDefaultImpl, _deserializeTypedUsingDefaultImpl, deserializeTypedFromAny, getTypeInclusion
-
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeDeserializer
_deserialize, _locateTypeId, _usesExternalId, deserializeTypedFromArray, deserializeTypedFromScalar
-
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase
_deserializeWithNativeTypeId, _deserializeWithNativeTypeId, _findDefaultImplDeserializer, _findDeserializer, _handleMissingTypeId, _handleUnknownTypeId, baseType, baseTypeName, getDefaultImpl, getPropertyName, getTypeIdResolver, hasDefaultImpl, toString
-
-
-
-
Constructor Detail
-
TransformDeserializer
public TransformDeserializer(com.fasterxml.jackson.databind.JavaType bt, com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes, java.lang.String typePropertyName, boolean typeIdVisible, com.fasterxml.jackson.databind.JavaType defaultImpl)
-
TransformDeserializer
public TransformDeserializer(com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer src, com.fasterxml.jackson.databind.BeanProperty property)
-
-
Method Detail
-
forProperty
public com.fasterxml.jackson.databind.jsontype.TypeDeserializer forProperty(com.fasterxml.jackson.databind.BeanProperty prop)
- Overrides:
forProperty
in classcom.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer
-
getClassByName
protected java.lang.Class<?> getClassByName(java.lang.String anyOfType) throws NoSuchTypeException
Description copied from class:AbstractAnyOfDeserializer
Method that returns the instance of the found type- Specified by:
getClassByName
in classAbstractAnyOfDeserializer
- Parameters:
anyOfType
- the name of the class type- Returns:
Class
of the type- Throws:
NoSuchTypeException
- thrown if no type for the given classType String
-
-