public class XmlTextDeserializer
extends com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.deser.ValueInstantiator |
_valueInstantiator |
protected com.fasterxml.jackson.databind.deser.SettableBeanProperty |
_xmlTextProperty
Actual property that is indicated to be of type "XML Text" (and
is the only element-valued property)
|
protected int |
_xmlTextPropertyIndex
Property index of the "XML text property"; needed for finding actual
property instance after resolution and contextualization: instance
may change, but index will remain constant.
|
Constructor and Description |
---|
XmlTextDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase delegate,
int textPropIndex) |
XmlTextDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase delegate,
com.fasterxml.jackson.databind.deser.SettableBeanProperty prop) |
Modifier and Type | Method and Description |
---|---|
protected com.fasterxml.jackson.databind.deser.BeanDeserializerBase |
_verifyDeserType(com.fasterxml.jackson.databind.JsonDeserializer<?> deser) |
com.fasterxml.jackson.databind.JsonDeserializer<?> |
createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt,
com.fasterxml.jackson.databind.BeanProperty property) |
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 bean) |
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<?> newDelegatee0) |
_createContextual, findBackReference, getDelegatee, getEmptyValue, getKnownPropertyNames, getNullValue, getObjectIdReader, isCachable, replaceDelegatee, resolve
_hasTextualNull, _isNaN, _isNegInf, _isPosInf, _parseBoolean, _parseBooleanFromNumber, _parseBooleanPrimitive, _parseByte, _parseDate, _parseDouble, _parseDoublePrimitive, _parseFloat, _parseFloatPrimitive, _parseInteger, _parseIntPrimitive, _parseLong, _parseLongPrimitive, _parseShort, _parseShortPrimitive, _parseString, findConvertingContentDeserializer, findDeserializer, getValueClass, getValueType, handledType, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer, parseDouble
protected final int _xmlTextPropertyIndex
protected final com.fasterxml.jackson.databind.deser.SettableBeanProperty _xmlTextProperty
protected final com.fasterxml.jackson.databind.deser.ValueInstantiator _valueInstantiator
public XmlTextDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase delegate, com.fasterxml.jackson.databind.deser.SettableBeanProperty prop)
public XmlTextDeserializer(com.fasterxml.jackson.databind.deser.BeanDeserializerBase delegate, int textPropIndex)
protected com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatingInstance(com.fasterxml.jackson.databind.JsonDeserializer<?> newDelegatee0)
newDelegatingInstance
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
public com.fasterxml.jackson.databind.JsonDeserializer<?> createContextual(com.fasterxml.jackson.databind.DeserializationContext ctxt, com.fasterxml.jackson.databind.BeanProperty property) throws com.fasterxml.jackson.databind.JsonMappingException
createContextual
in interface com.fasterxml.jackson.databind.deser.ContextualDeserializer
createContextual
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
com.fasterxml.jackson.databind.JsonMappingException
public Object deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
IOException
com.fasterxml.jackson.core.JsonProcessingException
public Object deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object bean) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
IOException
com.fasterxml.jackson.core.JsonProcessingException
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
deserializeWithType
in class com.fasterxml.jackson.databind.deser.std.DelegatingDeserializer
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected com.fasterxml.jackson.databind.deser.BeanDeserializerBase _verifyDeserType(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
Copyright © 2012–2014 FasterXML. All rights reserved.