java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util.StdConverter<IN,OUT>
All Implemented Interfaces:
Converter<IN,OUT>

public abstract class StdConverter<IN,OUT> extends Object implements Converter<IN,OUT>
Standard implementation of Converter that supports explicit type access, instead of relying type detection of generic type parameters.
Since:
2.2
  • Nested Class Summary

    Nested classes/interfaces inherited from interface edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.util.Converter

    Converter.None
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected JavaType
     
    abstract OUT
    convert(IN value)
    Main conversion method.
    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).
    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).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StdConverter

      public StdConverter()
  • Method Details

    • convert

      public abstract OUT convert(IN value)
      Description copied from interface: Converter
      Main conversion method.
      Specified by:
      convert in interface Converter<IN,OUT>
    • 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 interface Converter<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 interface Converter<IN,OUT>
    • _findConverterType

      protected JavaType _findConverterType(TypeFactory tf)