public class XmlBeanSerializerModifier extends com.fasterxml.jackson.databind.ser.BeanSerializerModifier implements Serializable
BeanSerializerModifier
to replace default BeanSerializer
with XML-specific one; mostly to ensure that attribute properties are output
before element properties.Constructor and Description |
---|
XmlBeanSerializerModifier() |
Modifier and Type | Method and Description |
---|---|
List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> |
changeProperties(com.fasterxml.jackson.databind.SerializationConfig config,
com.fasterxml.jackson.databind.BeanDescription beanDesc,
List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> beanProperties)
First thing to do is to find annotations regarding XML serialization,
and wrap collection serializers.
|
com.fasterxml.jackson.databind.JsonSerializer<?> |
modifySerializer(com.fasterxml.jackson.databind.SerializationConfig config,
com.fasterxml.jackson.databind.BeanDescription beanDesc,
com.fasterxml.jackson.databind.JsonSerializer<?> serializer) |
public List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> changeProperties(com.fasterxml.jackson.databind.SerializationConfig config, com.fasterxml.jackson.databind.BeanDescription beanDesc, List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter> beanProperties)
changeProperties
in class com.fasterxml.jackson.databind.ser.BeanSerializerModifier
public com.fasterxml.jackson.databind.JsonSerializer<?> modifySerializer(com.fasterxml.jackson.databind.SerializationConfig config, com.fasterxml.jackson.databind.BeanDescription beanDesc, com.fasterxml.jackson.databind.JsonSerializer<?> serializer)
modifySerializer
in class com.fasterxml.jackson.databind.ser.BeanSerializerModifier
Copyright © 2012–2014 FasterXML. All rights reserved.