public class StringMethodPropertyWriter
extends com.fasterxml.jackson.databind.ser.BeanPropertyWriter
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.core.SerializableString |
_fastName
Locally stored version of efficiently serializable name.
|
protected BeanPropertyAccessor |
_propertyAccessor |
protected int |
_propertyIndex |
protected boolean |
broken |
protected com.fasterxml.jackson.databind.ser.BeanPropertyWriter |
fallbackWriter |
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _format, _includeInViews, _internalSettings, _member, _metadata, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY, NO_FORMAT| Constructor and Description |
|---|
StringMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src,
BeanPropertyAccessor acc,
int index,
com.fasterxml.jackson.databind.JsonSerializer<Object> ser) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_handleProblem(Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov,
Throwable t,
boolean element) |
protected void |
_reportProblem(Object bean,
Throwable e) |
void |
serializeAsElement(Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov) |
void |
serializeAsField(Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider prov) |
StringMethodPropertyWriter |
withAccessor(BeanPropertyAccessor acc) |
com.fasterxml.jackson.databind.ser.BeanPropertyWriter |
withSerializer(com.fasterxml.jackson.databind.JsonSerializer<Object> ser) |
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, _new, assignNullSerializer, assignSerializer, assignTypeSerializer, depositSchemaProperty, depositSchemaProperty, findFormatOverrides, get, getAnnotation, getContextAnnotation, getFullName, getGenericPropertyType, getInternalSetting, getMember, getMetadata, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, isRequired, isUnwrapping, isVirtual, removeInternalSetting, rename, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithNameprotected final BeanPropertyAccessor _propertyAccessor
protected final com.fasterxml.jackson.core.SerializableString _fastName
protected final int _propertyIndex
protected final com.fasterxml.jackson.databind.ser.BeanPropertyWriter fallbackWriter
protected boolean broken
public StringMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src,
BeanPropertyAccessor acc,
int index,
com.fasterxml.jackson.databind.JsonSerializer<Object> ser)
public com.fasterxml.jackson.databind.ser.BeanPropertyWriter withSerializer(com.fasterxml.jackson.databind.JsonSerializer<Object> ser)
public StringMethodPropertyWriter withAccessor(BeanPropertyAccessor acc)
public final void serializeAsField(Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws Exception
Exceptionpublic final void serializeAsElement(Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws Exception
Exceptionprotected void _handleProblem(Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov, Throwable t, boolean element) throws Exception
ExceptionCopyright © 2014–2015 FasterXML. All rights reserved.