TemplateBlockpublic class StaticTemplateBlock extends Object implements TemplateBlock
| Constructor | Description |
|---|---|
StaticTemplateBlock(String content) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getContent(Map<String,Object> variables) |
Gets string representation for this template block.
|
TemplateBlockType |
getTemplateBlockType() |
Used to determine template block type.
|
public StaticTemplateBlock(String content)
public TemplateBlockType getTemplateBlockType()
TemplateBlockgetTemplateBlockType in interface TemplateBlockpublic String getContent(Map<String,Object> variables)
TemplateBlockgetContent in interface TemplateBlockCopyright © 2017–2020 Holisticon AG. All rights reserved.