public class SubjectDirective
extends java.lang.Object
implements freemarker.template.TemplateDirectiveModel
Modifier and Type | Field and Description |
---|---|
private java.util.ResourceBundle |
bundle |
private java.lang.String |
subject |
Constructor and Description |
---|
SubjectDirective(java.util.ResourceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
execute(freemarker.core.Environment env,
java.util.Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body) |
private java.lang.Object[] |
findParameters(java.util.Map params) |
java.lang.String |
getSubject() |
private final java.util.ResourceBundle bundle
private java.lang.String subject
public java.lang.String getSubject()
public void execute(freemarker.core.Environment env, java.util.Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException
execute
in interface freemarker.template.TemplateDirectiveModel
freemarker.template.TemplateException
private java.lang.Object[] findParameters(java.util.Map params) throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException