Interface TranslatorFactory<P,​D>

    • Method Detail

      • create

        Translator<P,​D> create​(TypeKey<P> tk,
                                     CreateContext ctx,
                                     Path path)
        Create a translator for a type.
        Parameters:
        tk - defines the type which is to be translated
        path - is where this type was discovered, important for logging and exceptions
        Returns:
        null if this factory does not know how to deal with that situation.