Top Description Constructors Methods
org.jooq.impl

public final Class DefaultConverterProvider

extends Object
implements ConverterProvider, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.jooq.ConverterProvider
Static Imports
org.jooq.tools.reflect.Reflect.wrapper

A default converter provider offering the functionality of Convert.
Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private final boolean
private final boolean
isDate(Class<?> type)

private final boolean
isEnum(Class<?> type)

private final boolean
isJSON(Class<?> type)

private final boolean
isUUID(Class<?> type)

private final boolean
isXML(Class<?> type)

public final <T, U> @Nullable Converter<T, U>
provide(final Class<T> tType, final Class<U> uType)

Implements org.jooq.ConverterProvider.provide.

Provide a converter that can convert between <T> and <U> types.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultConverterProviderback to summary
public DefaultConverterProvider()

Method Detail

isCollectionback to summary
private final boolean isCollection(Class<?> type)
isDateback to summary
private final boolean isDate(Class<?> type)
isEnumback to summary
private final boolean isEnum(Class<?> type)
isJSONback to summary
private final boolean isJSON(Class<?> type)
isUUIDback to summary
private final boolean isUUID(Class<?> type)
isXMLback to summary
private final boolean isXML(Class<?> type)
provideback to summary
public final <T, U> @Nullable Converter<T, U> provide(final Class<T> tType, final Class<U> uType)

Implements org.jooq.ConverterProvider.provide.

Doc from org.jooq.ConverterProvider.provide.

Provide a converter that can convert between <T> and <U> types.

Returns:@Nullable Converter<T, U>

The converter for <T, U>, or null if no such converter could be provided, in case of which jOOQ's DefaultConverterProvider applies.

Annotations
@Nullable
@Override