@Provider public class SkeletonKeyContextResolver extends Object implements ContextResolver<org.codehaus.jackson.map.ObjectMapper>
Modifier and Type | Field and Description |
---|---|
protected org.codehaus.jackson.map.ObjectMapper |
mapper |
Constructor and Description |
---|
SkeletonKeyContextResolver() |
SkeletonKeyContextResolver(boolean indent) |
Modifier and Type | Method and Description |
---|---|
org.codehaus.jackson.map.ObjectMapper |
getContext(Class<?> type)
Get a context of type
T that is applicable to the supplied
type. |
public SkeletonKeyContextResolver()
public SkeletonKeyContextResolver(boolean indent)
public org.codehaus.jackson.map.ObjectMapper getContext(Class<?> type)
ContextResolver
T
that is applicable to the supplied
type.getContext
in interface ContextResolver<org.codehaus.jackson.map.ObjectMapper>
type
- the class of object for which a context is desirednull
if a
context for the supplied type is not available from this provider.Copyright © 2013. All Rights Reserved.