ContextTemplateProcessorpublic interface TemplateProcessor
Created: 2016. 1. 14.
| Modifier and Type | Method | Description |
|---|---|---|
void |
process(TemplateRule templateRule,
Activity activity) |
Template processing with specified TemplateRule.
|
void |
process(TemplateRule templateRule,
Activity activity,
java.util.Map<java.lang.String,java.lang.Object> model) |
Template processing with specified TemplateRule.
|
void |
process(TemplateRule templateRule,
Activity activity,
java.util.Map<java.lang.String,java.lang.Object> model,
java.io.Writer writer) |
Template processing with specified TemplateRule.
|
java.lang.String |
process(TemplateRule templateRule,
java.util.Map<java.lang.String,java.lang.Object> model) |
Template processing with specified TemplateRule.
|
java.lang.String |
process(java.lang.String templateId) |
Template processing with specified TemplateRule by its ID.
|
void |
process(java.lang.String templateId,
Activity activity) |
Template processing with specified TemplateRule by its ID.
|
void |
process(java.lang.String templateId,
Activity activity,
java.io.Writer writer) |
Template processing with specified TemplateRule by its ID.
|
void |
process(java.lang.String templateId,
Activity activity,
java.util.Map<java.lang.String,java.lang.Object> model) |
Template processing with specified TemplateRule by its ID.
|
void |
process(java.lang.String templateId,
Activity activity,
java.util.Map<java.lang.String,java.lang.Object> model,
java.io.Writer writer) |
Template processing with specified TemplateRule by its ID.
|
java.lang.String |
process(java.lang.String templateId,
java.util.Map<java.lang.String,java.lang.Object> model) |
Template processing with specified TemplateRule by its ID.
|
java.lang.String process(java.lang.String templateId)
templateId - the template idjava.lang.String process(java.lang.String templateId,
java.util.Map<java.lang.String,java.lang.Object> model)
templateId - the template idmodel - the holder of the variables visible from the template (name-value pairs)java.lang.String process(TemplateRule templateRule, java.util.Map<java.lang.String,java.lang.Object> model)
templateRule - the template rulemodel - the holder of the variables visible from the template (name-value pairs)void process(java.lang.String templateId,
Activity activity)
templateId - the template idactivity - the activityvoid process(TemplateRule templateRule, Activity activity)
templateRule - the template ruleactivity - the activityvoid process(java.lang.String templateId,
Activity activity,
java.util.Map<java.lang.String,java.lang.Object> model)
templateId - the template idactivity - the activitymodel - the holder of the variables visible from the template (name-value pairs)void process(java.lang.String templateId,
Activity activity,
java.io.Writer writer)
templateId - the template idactivity - the activitywriter - the Writer where the output of the template will go.
Writer.close() is not called.void process(TemplateRule templateRule, Activity activity, java.util.Map<java.lang.String,java.lang.Object> model)
templateRule - the template ruleactivity - the activitymodel - the holder of the variables visible from the template (name-value pairs)void process(java.lang.String templateId,
Activity activity,
java.util.Map<java.lang.String,java.lang.Object> model,
java.io.Writer writer)
Writer.templateId - the template idactivity - the activitymodel - the holder of the variables visible from the template (name-value pairs)writer - the Writer where the output of the template will go.
Writer.close() is not called.void process(TemplateRule templateRule, Activity activity, java.util.Map<java.lang.String,java.lang.Object> model, java.io.Writer writer)
Writer.templateRule - the template ruleactivity - the activitymodel - the holder of the variables visible from the template (name-value pairs)writer - the Writer where the output of the template will go.
Writer.close() is not called.Copyright © 2008–2018 The Aspectran Project. All rights reserved.