com.fasterxml.jackson.dataformat.xml.deser
Class WrapperHandlingDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<T>
com.fasterxml.jackson.databind.deser.std.StdDeserializer<Object>
com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
com.fasterxml.jackson.dataformat.xml.deser.WrapperHandlingDeserializer
- All Implemented Interfaces:
- com.fasterxml.jackson.databind.deser.ContextualDeserializer, com.fasterxml.jackson.databind.deser.ResolvableDeserializer, Serializable
public class WrapperHandlingDeserializer
- extends com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
Delegating deserializer whose only function is to handle case of
"unwrapped" List/array deserialization from XML.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer |
com.fasterxml.jackson.databind.JsonDeserializer.None |
Fields inherited from class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer |
_delegatee |
Fields inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer |
_valueClass |
Method Summary |
protected void |
_configureParser(com.fasterxml.jackson.core.JsonParser jp)
|
protected com.fasterxml.jackson.databind.JsonDeserializer<?> |
_createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property,
com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatee0)
|
protected com.fasterxml.jackson.databind.deser.BeanDeserializerBase |
_verifyDeserType(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
|
Object |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
|
Object |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object intoValue)
|
Object |
deserializeWithType(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)
|
protected com.fasterxml.jackson.databind.JsonDeserializer<?> |
newDelegatingInstance(com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatee)
|
Methods inherited from class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer |
createContextual, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, resolve |
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer |
_parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findDeserializer, getValueClass, getValueType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble |
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer |
unwrappingDeserializer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_namesToWrap
protected final Set<String> _namesToWrap
WrapperHandlingDeserializer
public WrapperHandlingDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase delegate)
WrapperHandlingDeserializer
public WrapperHandlingDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase delegate,
Set<String> namesToWrap)
newDelegatingInstance
protected com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatingInstance(com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatee)
- Specified by:
newDelegatingInstance
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
_createContextual
protected com.fasterxml.jackson.databind.JsonDeserializer<?> _createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property,
com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatee0)
- Overrides:
_createContextual
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
deserialize
public Object deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Overrides:
deserialize
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
deserialize
public Object deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object intoValue)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Overrides:
deserialize
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
deserializeWithType
public Object deserializeWithType(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.jsontype.TypeDeserializer typeDeserializer)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Overrides:
deserializeWithType
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
_configureParser
protected void _configureParser(com.fasterxml.jackson.core.JsonParser jp)
throws IOException,
com.fasterxml.jackson.core.JsonProcessingException
- Throws:
IOException
com.fasterxml.jackson.core.JsonProcessingException
_verifyDeserType
protected com.fasterxml.jackson.databind.deser.BeanDeserializerBase _verifyDeserType(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
Copyright © 2012 FasterXML. All Rights Reserved.