public abstract class BeanPropertySerializer<T,V> extends HasSerializer<V,JsonSerializer<V>>
| Constructor and Description |
|---|
BeanPropertySerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract V |
getValue(T bean,
JsonSerializationContext ctx) |
void |
serialize(JsonWriter writer,
T bean,
JsonSerializationContext ctx)
Serializes the property defined for this instance.
|
getSerializer, newSerializerprotected abstract V getValue(T bean, JsonSerializationContext ctx)
bean - bean containing the property to serializectx - context of the serialization processpublic void serialize(JsonWriter writer, T bean, JsonSerializationContext ctx)
writer - writerbean - bean containing the property to serializectx - context of the serialization processCopyright © 2013. All Rights Reserved.