Top Description Constructors Methods
com.fasterxml.jackson.databind.util

public abstract Class StdConverter<IN, OUT>

extends Object
implements Converter<IN, OUT>
Class Inheritance
All Implemented Interfaces
com.fasterxml.jackson.databind.util.Converter
Imports
com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.type.TypeFactory

Standard implementation of Converter that supports explicit type access, instead of relying type detection of generic type parameters.
Since
2.2

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected JavaType
public abstract OUT
convert(IN value)

Redeclares com.fasterxml.jackson.databind.util.Converter.convert.

Main conversion method.

public JavaType
getInputType(TypeFactory typeFactory)

Implements com.fasterxml.jackson.databind.util.Converter.getInputType.

Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

public JavaType
getOutputType(TypeFactory typeFactory)

Implements com.fasterxml.jackson.databind.util.Converter.getOutputType.

Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

StdConverterback to summary
public StdConverter()

Method Detail

_findConverterTypeback to summary
protected JavaType _findConverterType(TypeFactory tf)
convertback to summary
public abstract OUT convert(IN value)

Redeclares com.fasterxml.jackson.databind.util.Converter.convert.

Doc from com.fasterxml.jackson.databind.util.Converter.convert.

Main conversion method.

Annotations
@Override
getInputTypeback to summary
public JavaType getInputType(TypeFactory typeFactory)

Implements com.fasterxml.jackson.databind.util.Converter.getInputType.

Doc from com.fasterxml.jackson.databind.util.Converter.getInputType.

Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

Annotations
@Override
getOutputTypeback to summary
public JavaType getOutputType(TypeFactory typeFactory)

Implements com.fasterxml.jackson.databind.util.Converter.getOutputType.

Doc from com.fasterxml.jackson.databind.util.Converter.getOutputType.

Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

Annotations
@Override