| Modifier and Type | Field and Description |
|---|---|
| private final ToIntFunction | |
| private final int | |
| private final boolean | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| 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 BeanPropertyWriter | withSerializer(ValueSerializer<Object> ser)
Implements abstract tools.
|
| _acc | back to summary |
|---|---|
| private final ToIntFunction<Object> _acc | |
| _suppressableInt | back to summary |
|---|---|
| private final int _suppressableInt | |
| _suppressableIntSet | back to summary |
|---|---|
| private final boolean _suppressableIntSet | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IntPropertyWriter | back to summary |
|---|---|
| public IntPropertyWriter(BeanPropertyWriter src, ToIntFunction<Object> acc, ValueSerializer<Object> ser) | |
| IntPropertyWriter | back to summary |
|---|---|
| protected IntPropertyWriter(IntPropertyWriter 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.
| |
| withSerializer | back to summary |
|---|---|
| public BeanPropertyWriter withSerializer(ValueSerializer<Object> ser) Implements abstract tools.
| |