Interface TemplateRenderer
- All Known Implementing Classes:
DefaultTemplateRenderer
public interface TemplateRenderer
The Interface TemplateRenderer.
Created: 2016. 1. 14.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(TemplateRule templateRule, Activity activity) Renders the template with specified TemplateRule.void
Renders the template with specified TemplateRule.void
Renders the template with specified TemplateRule.render
(TemplateRule templateRule, Map<String, Object> model) Renders the template with specified TemplateRule.Renders the template with specified TemplateRule by its ID.void
Renders the template with specified TemplateRule by its ID.void
Renders the template with specified TemplateRule by its ID.void
Renders the template with specified TemplateRule by its ID.void
TRenders the template with specified TemplateRule by its ID.Renders the template with specified TemplateRule by its ID.
-
Method Details
-
render
Renders the template with specified TemplateRule by its ID.- Parameters:
templateId
- the template id- Returns:
- the output string of the template
-
render
Renders the template with specified TemplateRule by its ID.- Parameters:
templateId
- the template idmodel
- the holder of the variables visible from the template (name-value pairs)- Returns:
- the output string of the template
-
render
Renders the template with specified TemplateRule.- Parameters:
templateRule
- the template rulemodel
- the holder of the variables visible from the template (name-value pairs)- Returns:
- the output string of the template
-
render
Renders the template with specified TemplateRule by its ID.- Parameters:
templateId
- the template idactivity
- the activity
-
render
Renders the template with specified TemplateRule.- Parameters:
templateRule
- the template ruleactivity
- the activity
-
render
Renders the template with specified TemplateRule by its ID.- Parameters:
templateId
- the template idactivity
- the activitymodel
- the holder of the variables visible from the template (name-value pairs)
-
render
Renders the template with specified TemplateRule by its ID.- Parameters:
templateId
- the template idactivity
- the activitywriter
- theWriter
where the output of the template will go.Writer.close()
is not called.
-
render
Renders the template with specified TemplateRule.- Parameters:
templateRule
- the template ruleactivity
- the activitymodel
- the holder of the variables visible from the template (name-value pairs)
-
render
TRenders the template with specified TemplateRule by its ID. Writing the generated output to the suppliedWriter
.- Parameters:
templateId
- the template idactivity
- the activitymodel
- the holder of the variables visible from the template (name-value pairs)writer
- theWriter
where the output of the template will go.Writer.close()
is not called.
-
render
Renders the template with specified TemplateRule. Writing the generated output to the suppliedWriter
.- Parameters:
templateRule
- the template ruleactivity
- the activitymodel
- the holder of the variables visible from the template (name-value pairs)writer
- theWriter
where the output of the template will go.Writer.close()
is not called.
-