Class ElementDeserializer<ISM extends Element>
java.lang.Object
org.gcube.com.fasterxml.jackson.databind.JsonDeserializer<T>
org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer<ISM>
org.gcube.informationsystem.serialization.ElementDeserializer<ISM>
- Type Parameters:
ISM- The type of the element to deserialize.
- All Implemented Interfaces:
Serializable
@Deprecated
public class ElementDeserializer<ISM extends Element>
extends org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer<ISM>
Deprecated.
This class is no longer in use. It is kept for reference purposes.
A custom Jackson deserializer for
Element types that can handle
unknown subtypes by falling back to a known supertype.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gcube.com.fasterxml.jackson.databind.JsonDeserializer
org.gcube.com.fasterxml.jackson.databind.JsonDeserializer.None -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.gcube.com.fasterxml.jackson.databind.ObjectMapperDeprecated.The object mapper.Fields inherited from class org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass, F_MASK_INT_COERCIONS -
Constructor Summary
ConstructorsConstructorDescriptionElementDeserializer(Class<ISM> clz, org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapper) Deprecated.Constructs a new deserializer. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt) Deprecated.deserializeWithType(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt, org.gcube.com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) Deprecated.Methods inherited from class org.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer
_coerceIntegral, _deserializeFromEmpty, _failDoubleToIntCoercion, _hasTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromInt, _parseBooleanFromOther, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, getValueClass, getValueType, handledType, handleMissingEndArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDoubleMethods inherited from class org.gcube.com.fasterxml.jackson.databind.JsonDeserializer
deserialize, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
-
Field Details
-
mapper
protected final org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapperDeprecated.The object mapper.
-
-
Constructor Details
-
Method Details
-
deserializeWithType
public Object deserializeWithType(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt, org.gcube.com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer) throws IOException Deprecated.- Overrides:
deserializeWithTypein classorg.gcube.com.fasterxml.jackson.databind.deser.std.StdDeserializer<ISM extends Element>- Throws:
IOException
-
deserialize
public ISM deserialize(org.gcube.com.fasterxml.jackson.core.JsonParser jp, org.gcube.com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, org.gcube.com.fasterxml.jackson.core.JsonProcessingException Deprecated.- Specified by:
deserializein classorg.gcube.com.fasterxml.jackson.databind.JsonDeserializer<ISM extends Element>- Throws:
IOExceptionorg.gcube.com.fasterxml.jackson.core.JsonProcessingException
-