Class StdConverter<IN,OUT>
- java.lang.Object
-
- com.fasterxml.jackson.databind.util.StdConverter<IN,OUT>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.util.Converter
Converter.None
-
-
Constructor Summary
Constructors Constructor Description StdConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract OUT
convert(IN value)
Main conversion method.JavaType
getInputType(TypeFactory typeFactory)
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).JavaType
getOutputType(TypeFactory typeFactory)
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).
-
-
-
Method Detail
-
convert
public abstract OUT convert(IN value)
Description copied from interface:Converter
Main conversion method.
-
getInputType
public JavaType getInputType(TypeFactory typeFactory)
Description copied from interface:Converter
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).- Specified by:
getInputType
in interfaceConverter<IN,OUT>
-
getOutputType
public JavaType getOutputType(TypeFactory typeFactory)
Description copied from interface:Converter
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).- Specified by:
getOutputType
in interfaceConverter<IN,OUT>
-
-