com.fasterxml.jackson.databind.jsonSchema.types
Class JsonSchema.JsonSchemaIdResolver

java.lang.Object
  extended by com.fasterxml.jackson.databind.jsonSchema.types.JsonSchema.JsonSchemaIdResolver
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
Enclosing class:
JsonSchema

public static class JsonSchema.JsonSchemaIdResolver
extends Object
implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver


Constructor Summary
JsonSchema.JsonSchemaIdResolver()
           
 
Method Summary
 com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
           
 String idFromBaseType()
           
 String idFromValue(Object value)
           
 String idFromValueAndType(Object value, Class<?> suggestedType)
           
 void init(com.fasterxml.jackson.databind.JavaType baseType)
           
 com.fasterxml.jackson.databind.JavaType typeFromId(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonSchema.JsonSchemaIdResolver

public JsonSchema.JsonSchemaIdResolver()
Method Detail

idFromValue

public String idFromValue(Object value)
Specified by:
idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver

idFromValueAndType

public String idFromValueAndType(Object value,
                                 Class<?> suggestedType)
Specified by:
idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver

typeFromId

public com.fasterxml.jackson.databind.JavaType typeFromId(String id)
Specified by:
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver

getMechanism

public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
Specified by:
getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver

init

public void init(com.fasterxml.jackson.databind.JavaType baseType)
Specified by:
init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver

idFromBaseType

public String idFromBaseType()
Specified by:
idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver


Copyright © 2012 fasterxml.com. All Rights Reserved.