public class XmlBeanPropertyWriter
extends com.fasterxml.jackson.databind.ser.BeanPropertyWriter
Modifier and Type | Field and Description |
---|---|
protected QName |
_wrappedName
Element name used for items in the collection
|
protected QName |
_wrapperName
Element name used as wrapper for collection.
|
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _isRequired, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, 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.
|
_findAndAddDynamic, _handleSelfReference, assignNullSerializer, assignSerializer, depositSchemaProperty, depositSchemaProperty, get, getAnnotation, getContextAnnotation, getGenericPropertyType, getInternalSetting, getMember, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getViews, getWrapperName, hasNullSerializer, hasSerializer, isRequired, isRequired, removeInternalSetting, rename, serializeAsColumn, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls
protected final QName _wrapperName
protected final QName _wrappedName
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 © 2012-2013 FasterXML. All Rights Reserved.