public class GraphSONTypeIdResolver extends Object
Constructor and Description |
---|
GraphSONTypeIdResolver() |
Modifier and Type | Method and Description |
---|---|
GraphSONTypeIdResolver |
addCustomType(String name,
Class clasz) |
String |
getDescForKnownTypeIds() |
Map<String,JavaType> |
getIdToType() |
JsonTypeInfo.Id |
getMechanism() |
Map<Class,String> |
getTypeToId() |
String |
idFromBaseType() |
String |
idFromValue(Object o) |
String |
idFromValueAndType(Object o,
Class<?> aClass) |
void |
init(JavaType javaType) |
JavaType |
typeFromId(DatabindContext databindContext,
String s) |
JavaType |
typeFromId(String s) |
public GraphSONTypeIdResolver addCustomType(String name, Class clasz)
public void init(JavaType javaType)
public String idFromBaseType()
public JavaType typeFromId(String s)
public JavaType typeFromId(DatabindContext databindContext, String s)
public String getDescForKnownTypeIds()
public JsonTypeInfo.Id getMechanism()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.