Package org.pkl.config.java.mapper
Class PObjectToMap
- java.lang.Object
-
- org.pkl.config.java.mapper.PObjectToMap
-
- All Implemented Interfaces:
ConverterFactory
public final class PObjectToMap extends java.lang.Object implements ConverterFactory
-
-
Constructor Summary
Constructors Constructor Description PObjectToMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Converter<?,?>>create(org.pkl.core.PClassInfo<?> sourceType, java.lang.reflect.Type targetType)Returns a converter for the given source and target types, orOptional.empty()if the factory cannot handle the requested types.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pkl.config.java.mapper.ConverterFactory
when
-
-
-
-
Method Detail
-
create
public java.util.Optional<Converter<?,?>> create(org.pkl.core.PClassInfo<?> sourceType, java.lang.reflect.Type targetType)
Description copied from interface:ConverterFactoryReturns a converter for the given source and target types, orOptional.empty()if the factory cannot handle the requested types.- Specified by:
createin interfaceConverterFactory
-
-