Deprecated
as a consequence of XmlBeanSerializerBase being deprecated. See corresponding docs for further information.
BeanSerializer for XML handling.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | XmlBeanSerializer(BeanSerializerBase src)
Deprecated
as a consequence of
BeanSerializerBase being deprecated.
|
| public | XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter, Object filterId)
Deprecated
as a consequence of
XmlBeanSerializerBase being deprecated.
|
| public | XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter)
Deprecated
as a consequence of
XmlBeanSerializerBase being deprecated.
|
| public | XmlBeanSerializer(XmlBeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude)
Deprecated
as a consequence of
XmlBeanSerializerBase being deprecated.
|
| protected | XmlBeanSerializer(XmlBeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
Deprecated
as a consequence of
XmlBeanSerializerBase being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected BeanSerializerBase | asArraySerializer()
Implements abstract com.
Deprecated
as a consequence of
Implementation has to check whether as-array serialization
is possible reliably; if (and only if) so, will construct
a BeanSerializerBase being deprecated.
BeanAsArraySerializer, otherwise will return this
serializer as is.
|
| public void | serialize(Object
Value to serialize; can not be null. bean, JsonGenerator Generator used to output resulting Json content g, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. provider)Implements abstract com. BeanPropertyWriter instances.
|
| public String | |
| public JsonSerializer | unwrappingSerializer(NameTransformer
Name transformation to use to convert between names
of unwrapper properties unwrapper)Overrides com. |
| protected BeanSerializerBase | withByNameInclusion(Set<String> toIgnore, Set<String> toInclude)
Implements abstract com.
Deprecated
as a consequence of
Mutant factory used for creating a new instance with additional
set of properties to ignore or include (from properties this instance otherwise has)
BeanSerializerBase being deprecated.
|
| public BeanSerializerBase | withFilterId(Object filterId)
Implements abstract com.
Deprecated
as a consequence of
Mutant factory used for creating a new instance with different
filter id (used with BeanSerializerBase being deprecated.
JsonFilter annotation)
|
| public BeanSerializerBase | withObjectIdWriter(ObjectIdWriter objectIdWriter)
Implements abstract com.
Deprecated
as a consequence of
Mutant factory used for creating a new instance with different
BeanSerializerBase being deprecated.
ObjectIdWriter.
|
| protected BeanSerializerBase | withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
Implements abstract com.
Deprecated
as a consequence of
Mutant factory used for creating a new instance with modified set
of properties.
BeanSerializerBase being deprecated.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(BeanSerializerBase src)
Deprecated as a consequence of | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter, Object filterId)
Deprecated as a consequence of | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(XmlBeanSerializerBase src, ObjectIdWriter objectIdWriter)
Deprecated as a consequence of | |
| XmlBeanSerializer | back to summary |
|---|---|
| public XmlBeanSerializer(XmlBeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude)
Deprecated as a consequence of | |
| XmlBeanSerializer | back to summary |
|---|---|
| protected XmlBeanSerializer(XmlBeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
Deprecated as a consequence of | |
| asArraySerializer | back to summary |
|---|---|
| protected BeanSerializerBase asArraySerializer() Implements abstract com. Deprecated as a consequence of 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, SerializerProvider provider) throws IOException Implements abstract com. Main serialization method that will delegate actual output to configured
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| unwrappingSerializer | back to summary |
|---|---|
| public JsonSerializer Overrides com. Doc from com. Method that will return serializer instance that produces "unwrapped" serialization, if applicable for type being serialized (which is the case for some serializers that produce JSON Objects as output). If no unwrapped serializer can be constructed, will simply return serializer as-is. Default implementation just returns serializer as-is, indicating that no unwrapped variant exists
| |
| withByNameInclusion | back to summary |
|---|---|
| protected BeanSerializerBase withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) Implements abstract com. Doc from com. Deprecated as a consequence of 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 com. Doc from com. Deprecated as a consequence of 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 com. Doc from com. Deprecated as a consequence of Mutant factory used for creating a new instance with different
| |
| withProperties | back to summary |
|---|---|
| protected BeanSerializerBase withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Implements abstract com. Doc from com. Deprecated as a consequence of Mutant factory used for creating a new instance with modified set of properties. Note in 2.11.x, need to keep non-abstract for slightly better compatibility (XML module extends)
| |