BeanSerializer for XML handling.
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| protected | XmlBeanSerializer(XmlBeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
|
| Modifier and Type | Method and Description |
|---|---|
| protected BeanSerializerBase | asArraySerializer()
Implements abstract tools. Implementation has to check whether as-array serialization
is possible reliably; if (and only if) so, will construct
a |
| public void | serialize(Object bean, JsonGenerator g, SerializationContext ctxt)
Implements abstract tools. Main serialization method that will delegate actual output to configured
|
| public String | toString()
Overrides tools. Returns a string representation of the object. |
| public ValueSerializer | unwrappingSerializer(NameTransformer unwrapper)
Implements abstract tools. Lets force sub-classes to implement this, to avoid accidental missing of handling... |
| protected BeanSerializerBase | withByNameInclusion(Set<String> toIgnore, Set<String> toInclude)
Implements abstract tools. Mutant factory used for creating a new instance with additional set of properties to ignore or include (from properties this instance otherwise has) |
| public BeanSerializerBase | withFilterId(Object filterId)
Implements abstract tools. Mutant factory used for creating a new instance with different
filter id (used with |
| public BeanSerializerBase | withObjectIdWriter(ObjectIdWriter objectIdWriter)
Implements abstract tools. Mutant factory used for creating a new instance with different
|
| protected BeanSerializerBase | withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
Implements abstract tools. Mutant factory used for creating a new instance with modified set of properties |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(BeanSerializerBase src) | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter, Object filterId) | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter) | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(XmlBeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) | |
| XmlBeanSerializer | back to summary |
|---|---|
| protected XmlBeanSerializer(XmlBeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) | |
| asArraySerializer | back to summary |
|---|---|
| protected BeanSerializerBase asArraySerializer() Implements abstract tools. Implementation has to check whether as-array serialization
is possible reliably; if (and only if) so, will construct
a
| |
| serialize | back to summary |
|---|---|
| public void serialize(Object bean, JsonGenerator g, SerializationContext ctxt) throws JacksonException Implements abstract tools. Main serialization method that will delegate actual output to configured
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides tools. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| unwrappingSerializer | back to summary |
|---|---|
| public ValueSerializer Implements abstract tools. Doc from tools. Lets force sub-classes to implement this, to avoid accidental missing of handling...
| |
| withByNameInclusion | back to summary |
|---|---|
| protected BeanSerializerBase withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) Implements abstract tools. Doc from tools. Mutant factory used for creating a new instance with additional set of properties to ignore or include (from properties this instance otherwise has)
| |
| withFilterId | back to summary |
|---|---|
| public BeanSerializerBase withFilterId(Object filterId) Implements abstract tools. Doc from tools. Mutant factory used for creating a new instance with different
filter id (used with
| |
| withObjectIdWriter | back to summary |
|---|---|
| public BeanSerializerBase withObjectIdWriter(ObjectIdWriter objectIdWriter) Implements abstract tools. Doc from tools. Mutant factory used for creating a new instance with different
| |
| withProperties | back to summary |
|---|---|
| protected BeanSerializerBase withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Implements abstract tools. Doc from tools. Mutant factory used for creating a new instance with modified set of properties
| |