Package org.simpleflatmapper.converter
Class AbstractConverterFactoryProducer
java.lang.Object
org.simpleflatmapper.converter.AbstractConverterFactoryProducer
- All Implemented Interfaces:
ConverterFactoryProducer,org.simpleflatmapper.util.ProducerServiceLoader.Producer<ConverterFactory<?,?>>
public abstract class AbstractConverterFactoryProducer
extends Object
implements ConverterFactoryProducer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <I,O> void constantConverter(org.simpleflatmapper.util.Consumer<? super ConverterFactory<?, ?>> consumer, Class<I> from, Class<O> to, Converter<I, O> converter) protected <I,O> void factoryConverter(org.simpleflatmapper.util.Consumer<? super ConverterFactory<?, ?>> consumer, ConverterFactory<?, ?> 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
-
AbstractConverterFactoryProducer
public AbstractConverterFactoryProducer()
-
-
Method Details
-
constantConverter
protected <I,O> void constantConverter(org.simpleflatmapper.util.Consumer<? super ConverterFactory<?, ?>> consumer, Class<I> from, Class<O> to, Converter<I, O> converter) -
factoryConverter
protected <I,O> void factoryConverter(org.simpleflatmapper.util.Consumer<? super ConverterFactory<?, ?>> consumer, ConverterFactory<?, ?> converterFactory)
-