Interface SerializerFactory.DynamicDefFactory

Enclosing class:
SerializerFactory<IO extends IOInterface,​D>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SerializerFactory.DynamicDefFactory
This is a Dynamic Definition Factory that will create a Definition dependent on the Field itself.
  • Method Summary

    Modifier and Type
    Method
    Description
    create​(Clazz clazz, SerializerHandler<?,​?> serializerHandler)
    Create a SerializerDef dependant on the field
  • Method Details

    • create

      SerializerDef create(Clazz clazz, SerializerHandler<?,​?> serializerHandler)
      Create a SerializerDef dependant on the field
      Parameters:
      clazz - The Clazz that the field is. Read more at Clazz
      serializerHandler - The SerializerHandler. Used to request another definition, as an example it may be used to serialize a parameter in the object.
      Returns:
      SerializerDef