| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | StringFieldPropertyWriter(BeanPropertyWriter src, BeanPropertyAccessor acc, int index, ValueSerializer<Object> ser)
|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected BeanPropertyWriter | _new(PropertyName newName)
Implements abstract tools. Overridable factory method used by sub-classes |
| public final void | serializeAsElement(Object bean, JsonGenerator g, SerializationContext ctxt)
Implements abstract tools. Alternative to |
| public final void | serializeAsProperty(Object bean, JsonGenerator g, SerializationContext ctxt)
Implements abstract tools. Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer. |
| public StringFieldPropertyWriter | |
| public BeanPropertyWriter | withSerializer(ValueSerializer<Object> ser)
Implements abstract tools.
|
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| StringFieldPropertyWriter | back to summary |
|---|---|
| public StringFieldPropertyWriter(BeanPropertyWriter src, BeanPropertyAccessor acc, int index, ValueSerializer<Object> ser) | |
| StringFieldPropertyWriter | back to summary |
|---|---|
| protected StringFieldPropertyWriter(StringFieldPropertyWriter base, PropertyName name) | |
| _new | back to summary |
|---|---|
| protected BeanPropertyWriter _new(PropertyName newName) Implements abstract tools. Doc from tools. Overridable factory method used by sub-classes
| |
| serializeAsElement | back to summary |
|---|---|
| public final void serializeAsElement(Object bean, JsonGenerator g, SerializationContext ctxt) throws Exception Implements abstract tools. Doc from tools. Alternative to
| |
| serializeAsProperty | back to summary |
|---|---|
| public final void serializeAsProperty(Object bean, JsonGenerator g, SerializationContext ctxt) throws Exception Implements abstract tools. Doc from tools. Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.
| |
| withAccessor | back to summary |
|---|---|
| public StringFieldPropertyWriter withAccessor(BeanPropertyAccessor acc) Implements abstract tools.
| |
| withSerializer | back to summary |
|---|---|
| public BeanPropertyWriter withSerializer(ValueSerializer<Object> ser) Implements abstract tools.
| |