public abstract class AbstractJacksonMapperProvider extends Object implements JacksonMapperProvider
JacksonMapperProvider
.Constructor and Description |
---|
AbstractJacksonMapperProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
addProvider(String type,
javax.inject.Provider<? extends com.github.nmorel.gwtjackson.client.ObjectMapper<?>> mapperProvider) |
<T> com.github.nmorel.gwtjackson.client.ObjectMapper<T> |
getMapper(String type) |
boolean |
hasMapper(String type) |
public <T> com.github.nmorel.gwtjackson.client.ObjectMapper<T> getMapper(String type)
getMapper
in interface JacksonMapperProvider
type
or null
if there is no mapper registered.public boolean hasMapper(String type)
hasMapper
in interface JacksonMapperProvider
true
if there is a mapper for type
.protected void addProvider(String type, javax.inject.Provider<? extends com.github.nmorel.gwtjackson.client.ObjectMapper<?>> mapperProvider)
Copyright © 2010-2014 ArcBees. All Rights Reserved.