public class XmlBeanPropertyWriter
extends com.fasterxml.jackson.databind.ser.BeanPropertyWriter
Modifier and Type | Field and Description |
---|---|
protected QName |
_wrappedQName
Element name used for items in the collection
|
protected QName |
_wrapperQName
Element name used as wrapper for collection.
|
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY
Constructor and Description |
---|
XmlBeanPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter wrapped,
com.fasterxml.jackson.databind.PropertyName wrapperName,
com.fasterxml.jackson.databind.PropertyName wrappedName) |
XmlBeanPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter wrapped,
com.fasterxml.jackson.databind.PropertyName wrapperName,
com.fasterxml.jackson.databind.PropertyName wrappedName,
com.fasterxml.jackson.databind.JsonSerializer<Object> serializer) |
Modifier and Type | Method and Description |
---|---|
void |
serializeAsField(Object bean,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider prov)
Overridden version so that we can wrap output within wrapper element if
and as necessary.
|
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, _new, assignNullSerializer, assignSerializer, assignTypeSerializer, depositSchemaProperty, depositSchemaProperty, fixAccess, get, getAnnotation, getContextAnnotation, getFullName, getGenericPropertyType, getInternalSetting, getMember, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, isUnwrapping, removeInternalSetting, rename, serializeAsElement, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithName
protected final QName _wrapperQName
protected final QName _wrappedQName
public XmlBeanPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter wrapped, com.fasterxml.jackson.databind.PropertyName wrapperName, com.fasterxml.jackson.databind.PropertyName wrappedName)
public XmlBeanPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter wrapped, com.fasterxml.jackson.databind.PropertyName wrapperName, com.fasterxml.jackson.databind.PropertyName wrappedName, com.fasterxml.jackson.databind.JsonSerializer<Object> serializer)
public void serializeAsField(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider prov) throws Exception
serializeAsField
in class com.fasterxml.jackson.databind.ser.BeanPropertyWriter
Exception
Copyright © 2019 FasterXML. All rights reserved.