DeserializationContext needed to override certain
handlers.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | XmlDeserializationContext(DeserializerFactory df)
Default constructor for a blueprint object, which will use the standard
|
| private | XmlDeserializationContext(XmlDeserializationContext src, DeserializationConfig config, JsonParser p, InjectableValues values)
|
| private | |
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public XmlDeserializationContext | copy()
Overrides com. ObjectMapper#copy will work
properly; specifically, that caches are cleared, but settings
will otherwise remain identical; and that no sharing of state
occurs.
|
| public DefaultDeserializationContext | |
| public DefaultDeserializationContext | createInstance(DeserializationConfig config, JsonParser p, InjectableValues values)
Implements abstract com. |
| public String | extractScalarFromObject(JsonParser
Actual parser to read content from p, JsonDeserializer<?> Deserializer that needs extracted String value deser, Class<?> Immediate type of scalar to extract; usually type deserializer
handles but not always (for example, deserializer for scalarType)int[] would pass
scalar type of int)Overrides com. com. token),
but a Scalar value (potentially coercible from String value) is expected.
|
| public Object | readRootValue(JsonParser p, JavaType valueType, JsonDeserializer<Object> deser, Object valueToUpdate)
Overrides com. |
| public DefaultDeserializationContext | with(DeserializerFactory factory)
Implements abstract com. |
| public DefaultDeserializationContext | withCaches(CacheProvider cp)
Implements abstract com. CacheProvider.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| XmlDeserializationContext | back to summary |
|---|---|
| public XmlDeserializationContext(DeserializerFactory df) Default constructor for a blueprint object, which will use the standard
| |
| XmlDeserializationContext | back to summary |
|---|---|
| private XmlDeserializationContext(XmlDeserializationContext src, DeserializationConfig config, JsonParser p, InjectableValues values) | |
| XmlDeserializationContext | back to summary |
|---|---|
| private XmlDeserializationContext(XmlDeserializationContext src) | |
| XmlDeserializationContext | back to summary |
|---|---|
| private XmlDeserializationContext(XmlDeserializationContext src, DeserializerFactory factory) | |
| XmlDeserializationContext | back to summary |
|---|---|
| private XmlDeserializationContext(XmlDeserializationContext src, DeserializationConfig config) | |
| XmlDeserializationContext | back to summary |
|---|---|
| private XmlDeserializationContext(XmlDeserializationContext src, CacheProvider cp) | |
| copy | back to summary |
|---|---|
| public XmlDeserializationContext copy() Overrides com. Doc from com. Method needed to ensure that
| |
| createDummyInstance | back to summary |
|---|---|
| public DefaultDeserializationContext createDummyInstance(DeserializationConfig config) Implements abstract com.
| |
| createInstance | back to summary |
|---|---|
| public DefaultDeserializationContext createInstance(DeserializationConfig config, JsonParser p, InjectableValues values) Implements abstract com. Doc from com. Method called to create actual usable per-deserialization context instance.
| |
| extractScalarFromObject | back to summary |
|---|---|
| public String extractScalarFromObject(JsonParser p, JsonDeserializer<?> deser, Class<?> scalarType) throws IOException Overrides com. Doc from com. Method to call in case incoming shape is Object Value (and parser thereby
points to
| |
| readRootValue | back to summary |
|---|---|
| public Object readRootValue(JsonParser p, JavaType valueType, JsonDeserializer<Object> deser, Object valueToUpdate) throws IOException Overrides com.
| |
| with | back to summary |
|---|---|
| public DefaultDeserializationContext with(DeserializerFactory factory) Implements abstract com. Doc from com. Fluent factory method used for constructing a blueprint instance with different factory
| |
| withCaches | back to summary |
|---|---|
| public DefaultDeserializationContext withCaches(CacheProvider cp) Implements abstract com. Doc from com. Fluent factory method used for constructing a new instance with cache instances provided by
| |