Package dev.quantumfusion.hyphen
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.
This is a Dynamic Definition Factory that will create a Definition dependent on the Field itself.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Clazz clazz, SerializerHandler<?,?> serializerHandler)Create a SerializerDef dependant on the field
-
Method Details
-
create
Create a SerializerDef dependant on the field- Parameters:
clazz- The Clazz that the field is. Read more atClazzserializerHandler- The SerializerHandler. Used to request another definition, as an example it may be used to serialize a parameter in the object.- Returns:
- SerializerDef
-