Class UUIDDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.FromStringDeserializer<java.util.UUID>
-
- com.fasterxml.jackson.databind.deser.std.UUIDDeserializer
-
- All Implemented Interfaces:
NullValueProvider
,java.io.Serializable
public class UUIDDeserializer extends FromStringDeserializer<java.util.UUID>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.std.FromStringDeserializer
FromStringDeserializer.Std
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
JsonDeserializer.None
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int[]
HEX_DIGITS
private static long
serialVersionUID
-
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS
-
-
Constructor Summary
Constructors Constructor Description UUIDDeserializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
_badChar(java.lang.String uuidStr, int index, DeserializationContext ctxt, char c)
private java.util.UUID
_badFormat(java.lang.String uuidStr, DeserializationContext ctxt)
protected java.util.UUID
_deserialize(java.lang.String id, DeserializationContext ctxt)
protected java.util.UUID
_deserializeEmbedded(java.lang.Object ob, DeserializationContext ctxt)
private java.util.UUID
_fromBytes(byte[] bytes, DeserializationContext ctxt)
private static int
_int(byte[] b, int offset)
private static long
_long(byte[] b, int offset)
(package private) int
byteFromChars(java.lang.String str, int index, DeserializationContext ctxt)
(package private) int
intFromChars(java.lang.String str, int index, DeserializationContext ctxt)
(package private) int
shortFromChars(java.lang.String str, int index, DeserializationContext ctxt)
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.FromStringDeserializer
_deserializeFromEmptyString, deserialize, findDeserializer, types
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdScalarDeserializer
deserialize, deserializeWithType, getEmptyAccessPattern, getNullAccessPattern, supportsUpdate
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
_byteOverflow, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeWrappedValue, _failDoubleToIntCoercion, _findNullProvider, _hasTextualNull, _intOverflow, _isEmptyOrTextualNull, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _neitherNull, _nonNullNumber, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseIntPrimitive, _parseIntPrimitive, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, unwrappingDeserializer
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
HEX_DIGITS
static final int[] HEX_DIGITS
-
-
Method Detail
-
_deserialize
protected java.util.UUID _deserialize(java.lang.String id, DeserializationContext ctxt) throws java.io.IOException
- Specified by:
_deserialize
in classFromStringDeserializer<java.util.UUID>
- Throws:
java.io.IOException
-
_deserializeEmbedded
protected java.util.UUID _deserializeEmbedded(java.lang.Object ob, DeserializationContext ctxt) throws java.io.IOException
- Overrides:
_deserializeEmbedded
in classFromStringDeserializer<java.util.UUID>
- Throws:
java.io.IOException
-
_badFormat
private java.util.UUID _badFormat(java.lang.String uuidStr, DeserializationContext ctxt) throws java.io.IOException
- Throws:
java.io.IOException
-
intFromChars
int intFromChars(java.lang.String str, int index, DeserializationContext ctxt) throws JsonMappingException
- Throws:
JsonMappingException
-
shortFromChars
int shortFromChars(java.lang.String str, int index, DeserializationContext ctxt) throws JsonMappingException
- Throws:
JsonMappingException
-
byteFromChars
int byteFromChars(java.lang.String str, int index, DeserializationContext ctxt) throws JsonMappingException
- Throws:
JsonMappingException
-
_badChar
int _badChar(java.lang.String uuidStr, int index, DeserializationContext ctxt, char c) throws JsonMappingException
- Throws:
JsonMappingException
-
_fromBytes
private java.util.UUID _fromBytes(byte[] bytes, DeserializationContext ctxt) throws JsonMappingException
- Throws:
JsonMappingException
-
_long
private static long _long(byte[] b, int offset)
-
_int
private static int _int(byte[] b, int offset)
-
-