BeanSerializerModifier to replace default BeanSerializer
with XML-specific one; mostly to ensure that attribute properties are output
before element properties.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | changeProperties(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> beanProperties)
Overrides com. |
| public JsonSerializer | modifySerializer(SerializationConfig config, BeanDescription beanDesc, JsonSerializer<?> serializer)
Overrides com. BeanSerializerFactory after constructing default
bean serializer instance with properties collected and ordered earlier.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| XmlBeanSerializerModifier | back to summary |
|---|---|
| public XmlBeanSerializerModifier() | |
| changeProperties | back to summary |
|---|---|
| public List Overrides com. First thing to do is to find annotations regarding XML serialization, and wrap collection serializers.
| |
| modifySerializer | back to summary |
|---|---|
| public JsonSerializer Overrides com. Doc from com. Method called by Note since 2.2, gets called for serializer of those non-POJO types that
do not go through any of more specific
| |