Class ContextTemplateValuesProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> provideTemplateValues​(java.lang.Object context, java.lang.String templateId)
      Method allows to define values available in template.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextTemplateValuesProvider

        public ContextTemplateValuesProvider()
    • Method Detail

      • provideTemplateValues

        public java.util.Map<java.lang.String,​java.lang.Object> provideTemplateValues​(java.lang.Object context,
                                                                                            java.lang.String templateId)
        Description copied from interface: TemplateValuesProvider
        Method allows to define values available in template.
        Specified by:
        provideTemplateValues in interface TemplateValuesProvider
        Parameters:
        context - object against which a template is to be resolved
        templateId - identity of a template to be resolved
        Returns:
        map of values available in template