References Deprecated
XmlBeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
UnwrappingBeanSerializer required to extend
XmlBeanSerializerBase for XML-specific handling.
| Modifier and Type | Field and Description |
|---|---|
| protected final NameTransformer | _nameTransformer
Transformer used to add prefix and/or suffix for properties of unwrapped POJO. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | UnwrappingXmlBeanSerializer(XmlBeanSerializerBase src, NameTransformer transformer)
References Deprecated
XmlBeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Constructor used for creating unwrapping instance of a standard
|
| public | UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, ObjectIdWriter objectIdWriter)
References Deprecated
UnwrappingXmlBeanSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public | UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, ObjectIdWriter objectIdWriter, Object filterId)
References Deprecated
UnwrappingXmlBeanSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| protected | UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, Set<String> toIgnore, Set<String> toInclude)
References Deprecated
UnwrappingXmlBeanSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| protected | UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
References Deprecated
UnwrappingXmlBeanSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| protected BeanSerializerBase | asArraySerializer()
Implements abstract com.
References Deprecated
BeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
JSON Array output can not be done if unwrapping operation is requested; so implementation will simply return 'this'. |
| public boolean | isUnwrappingSerializer()
Overrides com. Accessor for checking whether this serializer is an "unwrapping" serializer; this is necessary to know since it may also require caller to suppress writing of the leading property name. |
| public final void | serialize(Object
Value to serialize; can not be null. bean, JsonGenerator Generator used to output resulting Json content jgen, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. provider)Implements abstract com. Main serialization method that will delegate actual output to configured
|
| public String | |
| public JsonSerializer | unwrappingSerializer(NameTransformer
Name transformation to use to convert between names
of unwrapper properties transformer)Overrides 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). |
| protected BeanSerializerBase | withByNameInclusion(Set<String> toIgnore, Set<String> toInclude)
Implements abstract com.
References Deprecated
BeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
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 com.
References Deprecated
BeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Mutant factory used for creating a new instance with different
filter id (used with |
| public BeanSerializerBase | withObjectIdWriter(ObjectIdWriter objectIdWriter)
Implements abstract com.
References Deprecated
BeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Mutant factory used for creating a new instance with different
|
| protected BeanSerializerBase | withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
Implements abstract com.
References Deprecated
BeanSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
Mutant factory used for creating a new instance with modified set of properties. |
| _nameTransformer | back to summary |
|---|---|
| protected final NameTransformer _nameTransformer Transformer used to add prefix and/or suffix for properties of unwrapped POJO. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| UnwrappingXmlBeanSerializer | back to summary |
|---|---|
| public UnwrappingXmlBeanSerializer(XmlBeanSerializerBase src, NameTransformer transformer)
References Deprecated
See corresponding docs for further information. Constructor used for creating unwrapping instance of a standard
| |
| UnwrappingXmlBeanSerializer | back to summary |
|---|---|
| public UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, ObjectIdWriter objectIdWriter)
References Deprecated
See corresponding docs for further information. | |
| UnwrappingXmlBeanSerializer | back to summary |
|---|---|
| public UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, ObjectIdWriter objectIdWriter, Object filterId)
References Deprecated
See corresponding docs for further information. | |
| UnwrappingXmlBeanSerializer | back to summary |
|---|---|
| protected UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, Set<String> toIgnore, Set<String> toInclude)
References Deprecated
See corresponding docs for further information. | |
| UnwrappingXmlBeanSerializer | back to summary |
|---|---|
| protected UnwrappingXmlBeanSerializer(UnwrappingXmlBeanSerializer src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties)
References Deprecated
See corresponding docs for further information. | |
| asArraySerializer | back to summary |
|---|---|
| protected BeanSerializerBase asArraySerializer() Implements abstract com. References Deprecated
See corresponding docs for further information. JSON Array output can not be done if unwrapping operation is requested; so implementation will simply return 'this'.
| |
| isUnwrappingSerializer | back to summary |
|---|---|
| public boolean isUnwrappingSerializer() Overrides com. Doc from com. Accessor for checking whether this serializer is an "unwrapping" serializer; this is necessary to know since it may also require caller to suppress writing of the leading property name.
| |
| serialize | back to summary |
|---|---|
| public final void serialize(Object bean, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException 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.
Satisfying this method's contract implies a non- | |
| 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. References Deprecated
See corresponding docs for further information. 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. References Deprecated
See corresponding docs for further information. 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. References Deprecated
See corresponding docs for further information. 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. References Deprecated
See corresponding docs for further information. 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)
| |