Package de.xima.fc.serialize.gson.type
Class WriterTypeFactory
- java.lang.Object
-
- de.xima.fc.serialize.gson.type.WriterTypeFactory
-
- All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
public class WriterTypeFactory extends Object implements com.google.gson.TypeAdapterFactory
Factory for GSON type writes- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> com.google.gson.TypeAdapter<T>
create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
static WriterTypeFactory
forClient(org.jasypt.encryption.StringEncryptor encryptor)
static WriterTypeFactory
forProject(org.jasypt.encryption.StringEncryptor encryptor)
-
-
-
Method Detail
-
forProject
public static final WriterTypeFactory forProject(org.jasypt.encryption.StringEncryptor encryptor)
-
forClient
public static final WriterTypeFactory forClient(org.jasypt.encryption.StringEncryptor encryptor)
-
create
public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
- Specified by:
create
in interfacecom.google.gson.TypeAdapterFactory
-
-