public abstract class AbstractSerializer<T> extends java.lang.Object implements Serializer<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractSerializer() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
put(StructuredContent content,
T object) |
StructuredContent |
serialize(T object) |
protected abstract void put(StructuredContent content, T object)
public final StructuredContent serialize(@Nullable T object)
serialize
in interface Serializer<T>