public interface AttributeMapperAdapter
AttributeMapper
Modifier and Type | Method and Description |
---|---|
<T> AttributeMapper<T> |
create(com.google.gson.JsonElement config,
java.lang.Class<T> clazz)
Factory method for new
AttributeMapper instances |
@Nonnull <T> AttributeMapper<T> create(@Nonnull com.google.gson.JsonElement config, @Nonnull java.lang.Class<T> clazz) throws AttributeMapperAdapterException
AttributeMapper
instancesT
- the type of the value which this mapper will mapconfig
- the configuration for the AttributeMapper
clazz
- the Class
containing the type of the value which this mapper will mapAttributeMapper
instanceAttributeMapperAdapterException
- if there is an unexpected problem creating the AttributeMapper