Package pl.put.poznan.jsontools.logic
Class CompoundSerializerFactory
java.lang.Object
pl.put.poznan.jsontools.logic.CompoundSerializerFactory
Class that manages the creation of compound JSON serializers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String rawTransformsKey, JsonSerializer baseSerializer) Creates a serializer, based on the key specifying all the transforms requested.
-
Constructor Details
-
CompoundSerializerFactory
public CompoundSerializerFactory()
-
-
Method Details
-
create
Creates a serializer, based on the key specifying all the transforms requested. The key is built as follows: operation1:param1,param2;operation2:param1,param2- Parameters:
rawTransformsKey- The definition of serializersbaseSerializer- Basic serializer to provide the core functionality- Returns:
- A compound serializer
-