Package org.incenp.linkml.core
Interface IConverterProvider
-
public interface IConverterProviderAn interface to obtain a converter for an arbitrary type.This interface is primarily intended to allow client code to configure the
ConverterContextto use a custom converter for complex types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IConvertergetConverter(Class<?> type)Gets a converter for objects of the given type.
-
-
-
Method Detail
-
getConverter
IConverter getConverter(Class<?> type) throws LinkMLRuntimeException
Gets a converter for objects of the given type.- Parameters:
type- The type for which to obtain a converter.- Returns:
- An appropriate converter object.
- Throws:
LinkMLRuntimeException- If any error occurs.
-
-