Class HasSerializer<V,​S extends JsonSerializer<V>>

java.lang.Object
org.dominokit.jacksonapt.ser.bean.HasSerializer<V,​S>
Direct Known Subclasses:
AbstractIdentitySerializationInfo, BeanPropertySerializer, SubtypeSerializer

public abstract class HasSerializer<V,​S extends JsonSerializer<V>>
extends java.lang.Object
Lazy initialize a JsonSerializer
Version:
$Id: $
Author:
Nicolas Morel
  • Constructor Summary

    Constructors
    Constructor Description
    HasSerializer()  
  • Method Summary

    Modifier and Type Method Description
    protected S getSerializer()
    Getter for the field serializer.
    protected abstract JsonSerializer<?> newSerializer()
    newSerializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HasSerializer

      public HasSerializer()
  • Method Details

    • getSerializer

      protected S getSerializer()

      Getter for the field serializer.

      Returns:
      a S object.
    • newSerializer

      protected abstract JsonSerializer<?> newSerializer()

      newSerializer

      Returns:
      a JsonSerializer object.