Package org.simpleflatmapper.converter
Class AbstractContextualConverterFactoryProducer
java.lang.Object
org.simpleflatmapper.converter.AbstractContextualConverterFactoryProducer
- All Implemented Interfaces:
ContextualConverterFactoryProducer,org.simpleflatmapper.util.ProducerServiceLoader.Producer<ContextualConverterFactory<?,?>>
- Direct Known Subclasses:
JavaBaseConverterFactoryProducer,JavaTimeConverterFactoryProducer
public abstract class AbstractContextualConverterFactoryProducer
extends Object
implements ContextualConverterFactoryProducer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <I,O> void constantConverter(org.simpleflatmapper.util.Consumer<? super ContextualConverterFactory<?, ?>> consumer, Class<I> from, Class<O> to, ContextualConverter<I, O> converter) protected <I,O> void factoryConverter(org.simpleflatmapper.util.Consumer<? super ContextualConverterFactory<?, ?>> consumer, ContextualConverterFactory<?, ?> converterFactory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.simpleflatmapper.util.ProducerServiceLoader.Producer
produce
-
Constructor Details
-
AbstractContextualConverterFactoryProducer
public AbstractContextualConverterFactoryProducer()
-
-
Method Details
-
constantConverter
protected <I,O> void constantConverter(org.simpleflatmapper.util.Consumer<? super ContextualConverterFactory<?, ?>> consumer, Class<I> from, Class<O> to, ContextualConverter<I, O> converter) -
factoryConverter
protected <I,O> void factoryConverter(org.simpleflatmapper.util.Consumer<? super ContextualConverterFactory<?, ?>> consumer, ContextualConverterFactory<?, ?> converterFactory)
-