Module tools.jackson.dataformat.xml
Class XmlValueInstantiators
java.lang.Object
tools.jackson.databind.deser.ValueInstantiators.Base
tools.jackson.dataformat.xml.deser.XmlValueInstantiators
- All Implemented Interfaces:
Serializable,tools.jackson.databind.deser.ValueInstantiators
public class XmlValueInstantiators
extends tools.jackson.databind.deser.ValueInstantiators.Base
implements Serializable
ValueInstantiators implementation that renames creator properties
to match the names that XmlBeanDeserializerModifier.updateProperties(tools.jackson.databind.DeserializationConfig, tools.jackson.databind.BeanDescription.Supplier, java.util.List<tools.jackson.databind.introspect.BeanPropertyDefinition>)
will give to the corresponding property definitions.
This is needed because updateProperties() renames property definitions
(e.g., @JacksonXmlText properties to "", wrapped collections to
their wrapper name), but creator parameters retain their original names. Without
this renaming, BeanDeserializerFactory.addBeanProps() cannot link property
definitions to creator parameters.
- Since:
- 3.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.jackson.databind.deser.ValueInstantiators
tools.jackson.databind.deser.ValueInstantiators.Base -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontools.jackson.databind.deser.ValueInstantiatormodifyValueInstantiator(tools.jackson.databind.DeserializationConfig config, tools.jackson.databind.BeanDescription.Supplier beanDescRef, tools.jackson.databind.deser.ValueInstantiator defaultInstantiator) Methods inherited from class tools.jackson.databind.deser.ValueInstantiators.Base
findValueInstantiator
-
Field Details
-
_cfgNameForTextValue
-
-
Constructor Details
-
XmlValueInstantiators
-
-
Method Details
-
modifyValueInstantiator
public tools.jackson.databind.deser.ValueInstantiator modifyValueInstantiator(tools.jackson.databind.DeserializationConfig config, tools.jackson.databind.BeanDescription.Supplier beanDescRef, tools.jackson.databind.deser.ValueInstantiator defaultInstantiator) - Specified by:
modifyValueInstantiatorin interfacetools.jackson.databind.deser.ValueInstantiators
-