public abstract class AbstractBlockMacro extends AbstractMacro
Constructor and Description |
---|
AbstractBlockMacro(String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
renderFooter(Template template,
TemplateContext context,
OutputStream outputStream) |
protected abstract void |
renderHeader(Template template,
TemplateContext context,
OutputStream outputStream) |
protected void |
renderMacro(Template template,
TemplateContext pageContext,
TemplateContext context,
OutputStream outputStream) |
addParameter, getAbsolutePath, getBodyContentMacro, getLastModifiedTime, getMacro, getMacroPath, getName, getParameterDefaultValues, getParameterName, getParameterNames, getTemplateEngine, init, render, setAbsolutePath, setLastModifiedTime, setMacroPath, setParameterDefaultValues, setParameterNames, setTemplateEngine
public AbstractBlockMacro(String name)
protected void renderMacro(Template template, TemplateContext pageContext, TemplateContext context, OutputStream outputStream) throws IOException, TemplateException
renderMacro
in class AbstractMacro
IOException
TemplateException
protected abstract void renderHeader(Template template, TemplateContext context, OutputStream outputStream) throws IOException, TemplateException
IOException
TemplateException
protected abstract void renderFooter(Template template, TemplateContext context, OutputStream outputStream) throws IOException, TemplateException
IOException
TemplateException
Copyright © 2006–2018 TinyGroup. All rights reserved.