public class TemplatePart extends AbstractPart
| Constructor and Description |
|---|
TemplatePart(int line,
int column,
String templateName,
Map<String,String> parameters)
Creates a new template part.
|
| Modifier and Type | Method and Description |
|---|---|
void |
render(TemplateContext templateContext,
Writer writer)
Renders this part.
|
getColumn, getLinepublic TemplatePart(int line,
int column,
String templateName,
Map<String,String> parameters)
line - The line number of the tag, if anycolumn - The column number of the tag, if anytemplateName - The name of the template to renderparameters - The parameters for the included templatepublic void render(TemplateContext templateContext, Writer writer) throws TemplateException
templateContext - The template context for the partwriter - The writer to render the part toTemplateException - if a template variable can not be parsedCopyright © 2026. All rights reserved.