Interface TemplateEngineAdapter<Type>

  • All Known Implementing Classes:
    TemplateEngineAdapter.NoopAdapter

    public interface TemplateEngineAdapter<Type>
    Adapts model extractor output to used template engine. This method typically wraps results of model extractions into data types suited to template engine
    • Method Detail

      • adapt

        Type adapt​(java.lang.String key,
                   java.lang.Object extractedValue)
        Adapt value to expected output
        Parameters:
        key - Template key
        extractedValue - Value to be used in template model
        Returns:
        Value adapted for use in template